diff --git a/src/commands/git/tag.ts b/src/commands/git/tag.ts index 8faf975..eea55c5 100644 --- a/src/commands/git/tag.ts +++ b/src/commands/git/tag.ts @@ -225,6 +225,7 @@ export class TagGitCommand extends QuickCommand { placeholder: context => `Choose a branch${context.showTags ? ' or tag' : ''} to create the new tag from`, picked: state.reference?.ref ?? (await state.repo.getBranch())?.ref, + titleContext: ' from', value: GitReference.isRevision(state.reference) ? state.reference.ref : undefined, }); // Always break on the first step (so we will go back) @@ -349,7 +350,7 @@ export class TagGitCommand extends QuickCommand { } context.title = getTitle( - Strings.pluralize('Tag', state.references.length, { number: '' }).trim(), + Strings.pluralize('Tag', state.references.length, { only: true }), state.subcommand, );