Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fix(server): remove duplicate branchExists declaration

Julius Marminge10660f376cd4
diff --git a/apps/server/src/git/Layers/GitCore.ts b/apps/server/src/git/Layers/GitCore.ts
index 5dffecbae..52881b505 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<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,