diff --git a/apps/web/src/components/GitActionsControl.logic.test.ts b/apps/web/src/components/GitActionsControl.logic.test.ts index 42ab3ebca88c34871b76d16dcbdf78726c19476f..6eba57429d243aa4c50ea8f8983fc0b77bbdfbf1 100644 --- a/apps/web/src/components/GitActionsControl.logic.test.ts +++ b/apps/web/src/components/GitActionsControl.logic.test.ts @@ -615,7 +615,7 @@ describe("summarizeGitResult", () => { }); assert.deepEqual(result, { - title: "Pushed abcdef0 to foo", + title: "Pushed abcdef0 to origin/foo", description: "fix: tighten quick action tooltip hover handling", }); }); diff --git a/apps/web/src/components/GitActionsControl.logic.ts b/apps/web/src/components/GitActionsControl.logic.ts index 3debfc121b03bbcd2727d7517943781776ce9283..ea9fd0ea00b3bba2d59c89c3ac0b92761bfd632e 100644 --- a/apps/web/src/components/GitActionsControl.logic.ts +++ b/apps/web/src/components/GitActionsControl.logic.ts @@ -50,7 +50,7 @@ export function summarizeGitResult( if (result.push.status === "pushed") { const shortSha = shortenSha(result.commit.commitSha); - const branch = result.push.branch ?? result.push.upstreamBranch; + const branch = result.push.upstreamBranch ?? result.push.branch; const pushedCommitPart = shortSha ? ` ${shortSha}` : ""; const branchPart = branch ? ` to ${branch}` : ""; return withDescription(