Skip to content

Commit bddcae7

Browse files
committed
Improves the message on worktree branch delete gate #3514
1 parent 117396e commit bddcae7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/commands/git/branch.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,11 @@ export class BranchGitCommand extends QuickCommand {
485485
repo: state.repo,
486486
uris: worktrees.map(wt => wt.uri),
487487
startingFromBranchDelete: true,
488+
overrides: {
489+
title: `Delete ${worktrees.length === 1 ? 'Worktree' : 'Worktrees'} for ${
490+
worktrees.length === 1 ? 'Branch' : 'Branches'
491+
}`,
492+
},
488493
},
489494
},
490495
this.pickedVia,

0 commit comments

Comments
 (0)