@@ -965,8 +965,11 @@ export class WorktreeGitCommand extends QuickCommand<State> {
965
965
const description =
966
966
state . uris . length === 1
967
967
? `delete worktree in $(folder) ${ getWorkspaceFriendlyPath ( state . uris [ 0 ] ) } `
968
- : 'delete worktrees' ;
969
- const branchesDescription = state . uris . length === 1 ? `and its branch` : 'and corresponding branches' ;
968
+ : `delete ${ state . uris . length } worktrees` ;
969
+ const descriptionWithBranchDelete =
970
+ state . uris . length === 1
971
+ ? 'delete the worktree and then prompt to delete the associated branch'
972
+ : `delete ${ state . uris . length } worktrees and then prompt to delete the associated branches` ;
970
973
971
974
const step : QuickPickStep < FlagsQuickPickItem < DeleteFlags > > = createConfirmStep (
972
975
appendReposToTitle ( `Confirm ${ context . title } ` , state , context ) ,
@@ -983,14 +986,15 @@ export class WorktreeGitCommand extends QuickCommand<State> {
983
986
...( state . startingFromBranchDelete
984
987
? [ ]
985
988
: [
989
+ createQuickPickSeparator < FlagsQuickPickItem < DeleteFlags > > ( ) ,
986
990
createFlagsQuickPickItem < DeleteFlags > ( state . flags , [ '--delete-branches' ] , {
987
991
label : `${ label } & ${ branchesLabel } ` ,
988
- detail : `Will ${ description } ${ branchesDescription } ` ,
992
+ detail : `Will ${ descriptionWithBranchDelete } ` ,
989
993
} ) ,
990
994
createFlagsQuickPickItem < DeleteFlags > ( state . flags , [ '--force' , '--delete-branches' ] , {
991
995
label : `Force ${ label } & ${ branchesLabel } ` ,
992
996
description : 'includes ANY UNCOMMITTED changes' ,
993
- detail : `Will forcibly ${ description } ${ branchesDescription } ` ,
997
+ detail : `Will forcibly ${ descriptionWithBranchDelete } ` ,
994
998
} ) ,
995
999
] ) ,
996
1000
] ,
0 commit comments