| ... | ... | @@ -342,6 +342,8 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions |
| 342 | 342 | action: "commit_push", |
| 343 | 343 | forcePushOnlyProgress: true, |
| 344 | 344 | onConfirmed: closeResultToast, |
| 345 | statusOverride: actionStatus, |
| 346 | isDefaultBranchOverride: actionIsDefaultBranch, |
| 345 | 347 | }); |
| 346 | 348 | }, |
| 347 | 349 | }, |
| ... | ... | @@ -364,7 +366,11 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions |
| 364 | 366 | children: "Create PR", |
| 365 | 367 | onClick: () => { |
| 366 | 368 | closeResultToast(); |
| 367 | | void runGitActionWithToast({ action: "commit_push_pr" }); |
| 369 | void runGitActionWithToast({ |
| 370 | action: "commit_push_pr", |
| 371 | statusOverride: actionStatus, |
| 372 | isDefaultBranchOverride: actionIsDefaultBranch, |
| 373 | }); |
| 368 | 374 | }, |
| 369 | 375 | }, |
| 370 | 376 | } |