Skip to content

Commit 7fc39ac

Browse files
Fixes worktree command causing branch command to back up
1 parent 08f2c9e commit 7fc39ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/git/branch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ export class BranchGitCommand extends QuickCommand {
412412
},
413413
this.pickedVia,
414414
);
415-
if (worktreeResult === StepResultBreak) continue;
415+
if (worktreeResult !== StepResultBreak) continue;
416416

417417
endSteps(state);
418418
return;

0 commit comments

Comments
 (0)