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
Prefer upstream branch in push result summary
- show push target as `origin/<branch>` when available - update summarizeGitResult test expectation accordingly
Julius Marminge committed
Feb 14, 2026 at 22:44 UTC
47019ad79d55171f2cd206408510f2094c84f80d
2 files changed
+2
-2
apps/web/src/components/GitActionsControl.logic.test.ts
+1
-1
@@ -615,7 +615,7 @@ describe("summarizeGitResult", () => {
615
});
616
617
assert.deepEqual(result, {
618
- title: "Pushed abcdef0 to foo",
618
+ title: "Pushed abcdef0 to origin/foo",
619
description: "fix: tighten quick action tooltip hover handling",
620
});
621
});
apps/web/src/components/GitActionsControl.logic.ts
+1
-1
@@ -50,7 +50,7 @@ export function summarizeGitResult(
50
51
if (result.push.status === "pushed") {
52
const shortSha = shortenSha(result.commit.commitSha);
53
- const branch = result.push.branch ?? result.push.upstreamBranch;
53
+ const branch = result.push.upstreamBranch ?? result.push.branch;
54
const pushedCommitPart = shortSha ? ` ${shortSha}` : "";
55
const branchPart = branch ? ` to ${branch}` : "";
56
return withDescription(