From bdb5defa3a4d28caf9cf11dae83e501ea5fadefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=82CHES?= Date: Fri, 13 Mar 2026 23:20:59 -0600 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/resources/extensions/gsd/tests/idle-recovery.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/extensions/gsd/tests/idle-recovery.test.ts b/src/resources/extensions/gsd/tests/idle-recovery.test.ts index 6a424e196..ef1492e01 100644 --- a/src/resources/extensions/gsd/tests/idle-recovery.test.ts +++ b/src/resources/extensions/gsd/tests/idle-recovery.test.ts @@ -301,7 +301,7 @@ function cleanup(base: string): void { /** Create a real git repo for fix-merge tests */ function createGitBase(): string { const base = mkdtempSync(join(tmpdir(), "gsd-fixmerge-test-")); - execSync("git init", { cwd: base, stdio: "ignore" }); + execSync("git init -b main", { cwd: base, stdio: "ignore" }); execSync("git config user.email test@test.com", { cwd: base, stdio: "ignore" }); execSync("git config user.name Test", { cwd: base, stdio: "ignore" }); writeFileSync(join(base, "README.md"), "init\n", "utf-8");