@devries-cameron20 / t3code Mirror · read-only / commits / bb33fc3a3f
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 12:15 UTC

test(server): stop Git auto-maintenance racing the shared repo template copy (#37012)

Julius Marminge committed Nov 14, 2026 at 17:45 UTC bb33fc3a3fcc740be41cb3107a7c363c558a9b9d
1 file changed +2 -1
apps/server/src/vcs/GitVcsDriverCore.test.ts
+2 -1
@@ -402,9 +402,10 @@ const commitInitialRepo = (cwd: string, initArgs: ReadonlyArray<string> = []) =>
402 const fileSystem = yield* FileSystem.FileSystem;
403 const pathService = yield* Path.Path;
404 yield* git(cwd, ["init", ...initArgs]);
405 + // Newer Git detaches auto-maintenance after commit; its lock file would race the template copy.
406 yield* fileSystem.writeFileString(
407 pathService.join(cwd, ".git", "config"),
407 - "[user]\n\temail = test@test.com\n\tname = Test\n",
408 + "[user]\n\temail = test@test.com\n\tname = Test\n[maintenance]\n\tauto = false\n",
409 { flag: "a" },
410 );
411 yield* writeTextFile(cwd, "README.md", "# test\n");