fix(server): remove duplicate branchExists declaration

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex committed 2026-03-01 20:19:39 -08:00
1 parent ae235f7155
commit 10660f376c
1 file changed
-5
-5
View File
@@ -400,11 +400,6 @@ const makeGitCore = Effect.gen(function* () {
}),
);
const branchExists = (cwd: string, branch: string): Effect.Effect<boolean, GitCommandError> =>
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,