From ec6ca8188cacbdac90fadc6b35f2e76be09af5c3 Mon Sep 17 00:00:00 2001 From: Eric Amodio <eamodio@gmail.com> Date: Fri, 19 May 2017 18:19:22 -0400 Subject: [PATCH] Changes to Uncommitted change --- src/blameAnnotationFormatter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blameAnnotationFormatter.ts b/src/blameAnnotationFormatter.ts index 5a11e49..4a45eb8 100644 --- a/src/blameAnnotationFormatter.ts +++ b/src/blameAnnotationFormatter.ts @@ -49,7 +49,7 @@ export class BlameAnnotationFormatter { static getAnnotationHover(config: IBlameConfig, line: IGitCommitLine, commit: GitCommit): string | Array<string> { const message = `> \`${commit.message.replace(/\n/g, '\`\n>\n> \`')}\``; if (commit.isUncommitted) { - return `\`${'0'.repeat(8)}\` __Uncommitted changes__`; + return `\`${'0'.repeat(8)}\` __Uncommitted change__`; } return `\`${commit.shortSha}\` __${commit.author}__, ${moment(commit.date).fromNow()} _(${moment(commit.date).format(config.annotation.dateFormat || 'MMMM Do, YYYY h:MMa')})_ \n\n${message}`;