authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-01 20:19:39-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-01 20:19:39-08:00
log10660f376cd410dbbbfea239b45e79fbcde4ddbc
treebdcd35ce11d14d9348b9a45a85748b3f64a73a38
parentae235f715589216ed9747d46d0b1894482353e12

fix(server): remove duplicate branchExists declaration

Co-authored-by: codex <codex@users.noreply.github.com>

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

apps/server/src/git/Layers/GitCore.ts-5
......@@ -400,11 +400,6 @@ const makeGitCore = Effect.gen(function* () {
400400 }),
401401 );
402402
403 const branchExists = (cwd: string, branch: string): Effect.Effect<boolean, GitCommandError> =>
404 executeGit("GitCore.branchExists", cwd, ["show-ref", "--verify", "--quiet", `refs/heads/${branch}`], {
405 allowNonZeroExit: true,
406 }).pipe(Effect.map((result) => result.code === 0));
407
408403 const remoteBranchExists = (
409404 cwd: string,
410405 branch: string,