@devries-cameron20 / t3code-1 / commits / 10660f376c
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(server): remove duplicate branchExists declaration

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

Julius Marminge committed Mar 1, 2026 at 20:19 UTC 10660f376cd410dbbbfea239b45e79fbcde4ddbc
1 file changed -5
apps/server/src/git/Layers/GitCore.ts
-5
@@ -400,11 +400,6 @@ const makeGitCore = Effect.gen(function* () {
400 }),
401 );
402
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 -
403 const remoteBranchExists = (
404 cwd: string,
405 branch: string,