| ... | @@ -342,6 +342,8 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions | ... | @@ -342,6 +342,8 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions |
| 342 | action: "commit_push", | 342 | action: "commit_push", |
| 343 | forcePushOnlyProgress: true, | 343 | forcePushOnlyProgress: true, |
| 344 | onConfirmed: closeResultToast, | 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,7 +366,11 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions |
| 364 | children: "Create PR", | 366 | children: "Create PR", |
| 365 | onClick: () => { | 367 | onClick: () => { |
| 366 | closeResultToast(); | 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 | } |