Skip to content

Commit c20d5f2

Browse files
authored
Interference with interactive rebase (#6901)
Fixes #4904
1 parent b1cbaeb commit c20d5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/issues/stateManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class StateManager {
165165
await that.setCurrentIssueFromBranch(state, newBranch, true);
166166
}
167167
} else {
168-
await that.setCurrentIssue(state, undefined, true);
168+
await that.setCurrentIssue(state, undefined, !!newBranch);
169169
}
170170
}
171171
state.lastHead = repository.state.HEAD ? repository.state.HEAD.commit : undefined;

0 commit comments

Comments
 (0)