File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ export class SwitchGitCommand extends QuickCommand<State> {
300300 icon : false ,
301301 label : state . reference . refType !== 'branch' ,
302302 } ) } `,
303- value : state . createBranch ?? getNameWithoutRemote ( state . reference ) ,
303+ value : state . createBranch ,
304304 } ) ;
305305
306306 this . _canConfirmOverride = undefined ;
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ export class TagGitCommand extends QuickCommand<State> {
260260 capitalize : true ,
261261 icon : false ,
262262 } ) } `,
263- value : state . name ?? getNameWithoutRemote ( state . reference ) ,
263+ value : state . name ,
264264 } ) ;
265265 if ( result === StepResultBreak ) continue ;
266266
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ export class WorktreeGitCommand extends QuickCommand<State> {
453453 icon : false ,
454454 label : state . reference . refType !== 'branch' ,
455455 } ) } `,
456- value : createBranchOverride ?? getNameWithoutRemote ( state . reference ) ,
456+ value : createBranchOverride ,
457457 } ) ;
458458 if ( result === StepResultBreak ) {
459459 // Clear the flags, since we can backup after the confirm step below (which is non-standard)
You can’t perform that action at this time.
0 commit comments