We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9bd94 commit 48a1886Copy full SHA for 48a1886
src/commands/git/worktree.ts
@@ -703,7 +703,7 @@ export class WorktreeGitCommand extends QuickCommand<State> {
703
context.title = getTitle('Worktrees', state.subcommand);
704
705
const result = yield* pickWorktreesStep(state, context, {
706
- filter: wt => wt.main || !wt.opened, // Can't delete the main or opened worktree
+ filter: wt => !wt.main || !wt.opened, // Can't delete the main or opened worktree
707
includeStatus: true,
708
picked: state.uris?.map(uri => uri.toString()),
709
placeholder: 'Choose worktrees to delete',
0 commit comments