Skip to content

Commit 629cab5

Browse files
authored
Fixes Create Branch in Worktree problem of unnecessary asking for a repo (#3573)
by using the repo of the selected branch on "Create Branch" command for passing it further to the worktree command. Fixes #3573
1 parent b5cbe84 commit 629cab5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/git/branch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ export class BranchGitCommand extends QuickCommand {
378378
subcommand: 'create',
379379
reference: state.reference,
380380
createBranch: state.name,
381+
repo: state.repo,
381382
},
382383
},
383384
this.pickedVia,

0 commit comments

Comments
 (0)