The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 18:30 UTC
Omit empty push target and track branch in action deps
- Only include `pushTarget` in analytics payload when it exists - Add `gitStatus.branch` to callback dependencies to keep telemetry current
Julius Marminge committed
Feb 15, 2026 at 00:02 UTC
0c26396f79b94f8212d3c62d0514dc4188866ee7
1 file changed
+2
-1
apps/web/src/components/GitActionsControl.tsx
+2
-1
@@ -232,7 +232,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
232
hasCustomCommitMessage: !!commitMessage?.trim(),
233
hasWorkingTreeChanges: !!gitStatus?.hasWorkingTreeChanges,
234
forcePushOnly: forcePushOnlyProgress,
235
- pushTarget,
235
+ ...(pushTarget ? { pushTarget } : {}),
236
});
237
const progressToastId = toastManager.add({
238
type: "loading",
@@ -325,6 +325,7 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
325
},
326
[
327
api,
328
+ gitStatus?.branch,
329
gitStatus?.hasWorkingTreeChanges,
330
gitStatus?.openPr?.url,
331
isDefaultBranch,