diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 1b508f01d389d19c8460b13bdf951b11b8be10af..be18830e1bf2effd4eab90c162fde585eecf8e17 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -445,7 +445,14 @@ export default function GitActionsControl({ gitCwd, activeThreadId }: GitActions void checkoutPromise .then(() => { const statusOverride = gitStatusForActions - ? { ...gitStatusForActions, branch: branchName, pr: null } + ? { + ...gitStatusForActions, + branch: branchName, + pr: null, + hasUpstream: false, + aheadCount: 0, + behindCount: 0, + } : null; return runGitActionWithToast({ ...actionParams,