Skip to content

Commit ee24d20

Browse files
committed
Closes #4830 show rebase editor only when enabled
1 parent 5e4cd2c commit ee24d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/rebase/rebaseEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class RebaseEditorProvider implements CustomTextEditorProvider, Disposabl
105105
@log()
106106
private async onRebaseChanged(repoPath: string): Promise<void> {
107107
const openOnPausedRebase = configuration.get('rebaseEditor.openOnPausedRebase');
108-
if (!openOnPausedRebase) return;
108+
if (!openOnPausedRebase || !isRebaseTodoEditorEnabled()) return;
109109

110110
// Only open if the rebase is actually paused (waiting for user action), not just running
111111
const status = await this.container.git.getRepositoryService(repoPath).pausedOps?.getPausedOperationStatus?.();

0 commit comments

Comments
 (0)