Sfoglia il codice sorgente

Updates tag quick pick

main
Eric Amodio 3 anni fa
parent
commit
26ac07708c
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. +6
    -6
      src/quickpicks/gitQuickPickItems.ts

+ 6
- 6
src/quickpicks/gitQuickPickItems.ts Vedi File

@ -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) {

Caricamento…
Annulla
Salva