瀏覽代碼

Updates tag quick pick

main
Eric Amodio 3 年之前
父節點
當前提交
26ac07708c
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. +6
    -6
      src/quickpicks/gitQuickPickItems.ts

+ 6
- 6
src/quickpicks/gitQuickPickItems.ts 查看文件

@ -387,13 +387,13 @@ export namespace TagQuickPickItem {
}
if (options.ref) {
description = description
? `${descriptionan>}${Strings.pad('$(git-commit)', 2, 2)}${GitRevision.shorten(tag.sha)}`
: `${Strings.pad('$(git-commit)', 0, 2)}${GitRevision.shorten(tag.sha)}`;
description = `${description}${Strings.pad('$(git-commit)', description ? 2 : 0, 2)}${GitRevision.shorten(
tag.sha,
)}`;
description = description
? `${description}${Strings.pad(GlyphChars.Dot, 2, 2)}${tag.formattedDate}`
: tag.formattedDate;
description = `${description ? `${description}${Strings.pad(GlyphChars.Dot, 2, 2)}` : ''}${
tag.formattedDate
}`;
}
if (options.message) {

Loading…
取消
儲存