Skip to content

Commit 24c8169

Browse files
committed
Removes current branch default for create branch command
1 parent f09e4b6 commit 24c8169

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/git/branch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { QuickInputButtons } from 'vscode';
22
import type { Container } from '../../container';
33
import type { GitBranchReference, GitReference } from '../../git/models/reference';
4-
import { getNameWithoutRemote, getReferenceLabel, isRevisionReference } from '../../git/models/reference';
4+
import { getReferenceLabel, isRevisionReference } from '../../git/models/reference';
55
import { Repository } from '../../git/models/repository';
66
import type { GitWorktree } from '../../git/models/worktree';
77
import { getWorktreesByBranch } from '../../git/models/worktree';
@@ -361,7 +361,7 @@ export class BranchGitCommand extends QuickCommand {
361361
icon: false,
362362
label: state.reference.refType !== 'branch',
363363
})}`,
364-
value: state.name ?? getNameWithoutRemote(state.reference),
364+
value: state.name,
365365
});
366366
if (result === StepResultBreak) continue;
367367

0 commit comments

Comments
 (0)