diff --git a/components/content-service/pkg/initializer/git.go b/components/content-service/pkg/initializer/git.go index f96e81375aec84..ee34038c41c6f1 100644 --- a/components/content-service/pkg/initializer/git.go +++ b/components/content-service/pkg/initializer/git.go @@ -76,13 +76,13 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping) } // https://github.blog/2019-11-03-highlights-from-git-2-24/ - err = ws.Git(ctx, "config", "feature.manyFiles", "true") + err = ws.Git(ctx, "config", "--global", "feature.manyFiles", "true") if err != nil { log.WithError(err).Error("cannot configure feature.manyFiles") } // commit-graph after every git fetch command that downloads a pack-file from a remote - err = ws.Git(ctx, "config", "fetch.writeCommitGraph", "true") + err = ws.Git(ctx, "config", "--global", "fetch.writeCommitGraph", "true") if err != nil { log.WithError(err).Error("cannot configure fetch.writeCommitGraph") }