Skip to content

Commit a685961

Browse files
authored
fix: generate repo 403 error
1 parent 111940a commit a685961

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ func (a *App) GenerateRepo(req GenerateRepoRequest) (*GenerateRepoResponse, erro
301301
_ = a.runGitCommand(repoPath, "config", "gc.auto", "0")
302302
_ = a.runGitCommand(repoPath, "config", "core.autocrlf", "false")
303303
_ = a.runGitCommand(repoPath, "config", "core.fsyncObjectFiles", "false")
304+
_ = a.runGitCommand(repoPath, "config", "credential.helper", "") // ensure global helpers can't override askpass
304305

305306
// Sort contributions by date ascending to produce chronological history
306307
contribs := make([]ContributionDay, 0, len(req.Contributions))

0 commit comments

Comments
 (0)