Merge pull request #58731 from oneslash/new_branch_if_no_other_found

always show create a branch button
This commit is contained in:
João Moreno
2018-09-19 10:28:17 +02:00
committed by GitHub
3 changed files with 12 additions and 2 deletions

View File

@@ -98,6 +98,8 @@ class CreateBranchItem implements QuickPickItem {
get label(): string { return localize('create branch', '$(plus) Create new branch'); }
get description(): string { return ''; }
get shouldAlwaysShow(): boolean { return true; }
async run(repository: Repository): Promise<void> {
await this.cc.branch(repository);
}