1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-07-08 14:04:59 +08:00

Add fetch.writeCommitGraph to gitconfig ()

Add fetch.writeCommitGraph to gitconfig to ensure that a commit-graph will be written
on git fetch calls.

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath
2022-06-17 21:18:35 +01:00
committed by GitHub
parent 27ba86d283
commit ea9997a9dd

@ -238,6 +238,9 @@ func syncGitConfig() (err error) {
if err := configSet("gc.writeCommitGraph", "true"); err != nil {
return err
}
if err := configSet("fetch.writeCommitGraph", "true"); err != nil {
return err
}
}
if SupportProcReceive {