Pārlūkot izejas kodu

Adds `from` to tag git commands title

main
Eric Amodio pirms 3 gadiem
vecāks
revīzija
1795f992a8
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      src/commands/git/tag.ts

+ 2
- 1
src/commands/git/tag.ts Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt