Skip to content

Commit

Permalink
fix(build): commit object or packfile not found after git GC
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-igrychev committed Oct 18, 2021
1 parent af17ead commit b7a6bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/true_git/common.go
Expand Up @@ -24,5 +24,5 @@ func SetCommandRecordingLiveOutput(ctx context.Context, cmd *exec.Cmd) *bytes.Bu
}

func getCommonGitOptions() []string {
return []string{"-c", "core.autocrlf=false"}
return []string{"-c", "core.autocrlf=false", "-c", "gc.auto=0"}
}

0 comments on commit b7a6bba

Please sign in to comment.