mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 01:25:43 -05:00
Changes to Uncommitted change
This commit is contained in:
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user