diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-04-29 09:07:14 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-04-29 09:07:14 +0300 |
commit | bf43ae6382796653099fe76455e52b3e15df049e (patch) | |
tree | cf2b2d65c151b1e5e60f247ef47bad90ace318cb | |
parent | fce0a7487ccf90a866bf6a2428b23b428cd67c5c (diff) | |
parent | 3ad0e1d6fc5e130a127fd30f0e83a590d01c2e3b (diff) |
Merge branch 'pks-repack-dont-update-server-info' into 'master'
git: Globally disable generation of server info for git-repack(1)
Closes #4123
See merge request gitlab-org/gitaly!4505
-rw-r--r-- | internal/git/command_description.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/git/command_description.go b/internal/git/command_description.go index d68560554..4cddabd18 100644 --- a/internal/git/command_description.go +++ b/internal/git/command_description.go @@ -233,6 +233,10 @@ var commandDescriptions = map[string]commandDescription{ // Write bitmap indices when packing objects, which // speeds up packfile creation for fetches. ConfigPair{Key: "repack.writeBitmaps", Value: "true"}, + // Do not run git-update-server-info(1), which generates data structures + // required to server repositories via the dumb HTTP protocol. We don't + // serve this protocol though, so it's fine to skip it. + ConfigPair{Key: "repack.updateServerInfo", Value: "false"}, }, packConfiguration()...), }, "rev-list": { |