Skip to content

Commit ef3b043

Browse files
committed
fix: add code fix for failing local github setupLocalGitRepo
1 parent ae759dc commit ef3b043

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/ai/skills/download_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ func setupLocalGitRepo(t *testing.T, branch string, files map[string]string) str
576576

577577
runSetup := func(dir string, args ...string) {
578578
t.Helper()
579-
cmd := exec.Command("git", args...)
579+
cmd := exec.Command("git", append([]string{"-c", "safe.bareRepository=all"}, args...)...)
580580
cmd.Dir = dir
581581
out, err := cmd.CombinedOutput()
582582
if err != nil {

0 commit comments

Comments
 (0)