Fix toast follow-up actions to avoid re-branching
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
e4df6fcf8e
commit
7a5ccd3310
1 file changed
+2
-2
@@ -347,7 +347,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
|
||||
action: "commit_push",
|
||||
forcePushOnlyProgress: true,
|
||||
onConfirmed: closeResultToast,
|
||||
featureBranch,
|
||||
...(featureBranch ? { skipDefaultBranchPrompt: true } : {}),
|
||||
});
|
||||
},
|
||||
},
|
||||
@@ -373,7 +373,7 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions
|
||||
void runGitActionWithToast({
|
||||
action: "commit_push_pr",
|
||||
forcePushOnlyProgress: true,
|
||||
featureBranch,
|
||||
...(featureBranch ? { skipDefaultBranchPrompt: true } : {}),
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user