Ver a proveniência

Adds `from` to tag git commands title

main
Eric Amodio há 3 anos
ascendente
cometimento
1795f992a8
1 ficheiros alterados com 2 adições e 1 eliminações
  1. +2
    -1
      src/commands/git/tag.ts

+ 2
- 1
src/commands/git/tag.ts Ver ficheiro

@ -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,
);

Carregando…
Cancelar
Guardar