Browse Source

Fixes #996 - rename branch populate w/ current

main
Eric Amodio 4 years ago
parent
commit
381aefd2a8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/commands/git/branch.ts

+ 1
- 0
src/commands/git/branch.ts View File

@ -587,6 +587,7 @@ export class BranchGitCommand extends QuickCommandBase {
state.repo.formattedName
}`,
placeholder: `Please provide a new name for branch ${state.reference.getName()}`,
value: state.reference?.name,
validate: async (value: string | undefined): Promise<[boolean, string | undefined]> => {
if (value == null) return [false, undefined];

Loading…
Cancel
Save