Merge pull request #181 from michaellady/polecat/goose-mk1b5dbp

[DO NOT MERGE] fix: Use --initial-branch=main in rig integration tests
This commit is contained in:
Steve Yegge
2026-01-05 18:50:14 -08:00
committed by GitHub

View File

@@ -30,9 +30,10 @@ func createTestGitRepo(t *testing.T, name string) string {
t.Fatalf("mkdir repo: %v", err)
}
// Initialize git repo
// Initialize git repo with explicit main branch
// (system default may vary, causing checkout failures)
cmds := [][]string{
{"git", "init"},
{"git", "init", "--initial-branch=main"},
{"git", "config", "user.email", "test@test.com"},
{"git", "config", "user.name", "Test User"},
}