From 10660f376cd410dbbbfea239b45e79fbcde4ddbc Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Sun, 1 Mar 2026 20:19:39 -0800 Subject: [PATCH] fix(server): remove duplicate branchExists declaration Co-authored-by: codex --- apps/server/src/git/Layers/GitCore.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/server/src/git/Layers/GitCore.ts b/apps/server/src/git/Layers/GitCore.ts index 5dffecbae82bdc2bc55f4ac1d644b762a5ab1325..52881b50534f25a101dcbe833459bf1365ca7652 100644 --- a/apps/server/src/git/Layers/GitCore.ts +++ b/apps/server/src/git/Layers/GitCore.ts @@ -400,11 +400,6 @@ const makeGitCore = Effect.gen(function* () { }), ); - const branchExists = (cwd: string, branch: string): Effect.Effect => - executeGit("GitCore.branchExists", cwd, ["show-ref", "--verify", "--quiet", `refs/heads/${branch}`], { - allowNonZeroExit: true, - }).pipe(Effect.map((result) => result.code === 0)); - const remoteBranchExists = ( cwd: string, branch: string, -- 2.54.0