authorgravatar for ishansachu1@gmail.comIshan <ishansachu1@gmail.com> 2026-04-03 03:59:30+05:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-04-02 15:29:30-07:00
logd2822a8883fc30791264a25124e5ae2708b88a8b
tree8a240e1376c94a70d4246c30f539900ed3d12afe
parentae3ea3980dcf12691691dfc88836a9f1eb95132b
signature Signed by PGP key B5690EEEBB952194

fix: use explicit refspec for push in worktrees with slashed branch names (#1684)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

1 files changed, 1 insertions(+), 1 deletions(-)

apps/server/src/git/Layers/GitCore.ts+1-1
...@@ -1423,7 +1423,7 @@ export const makeGitCore = Effect.fn("makeGitCore")(function* (options?: {...@@ -1423,7 +1423,7 @@ export const makeGitCore = Effect.fn("makeGitCore")(function* (options?: {
1423 "push",1423 "push",
1424 "-u",1424 "-u",
1425 publishRemoteName,1425 publishRemoteName,
1426 branch,1426 `HEAD:refs/heads/${branch}`,
1427 ]);1427 ]);
1428 return {1428 return {
1429 status: "pushed" as const,1429 status: "pushed" as const,