diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-01-17 14:39:38 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2023-01-20 12:43:57 +0300 |
commit | a79935b8d612569247deb585fca006efca91c4b3 (patch) | |
tree | 09b6250864a763fa99dd60e91c44c83e9227026f | |
parent | 96f32d09ba110880d767a413ad302e2f9f1ffd17 (diff) |
housekeeping: Don't explicitly request writing bitmap hash cache
We're explicitly asking git-repack(1) to write the bitmap hash cache.
This feature has been default-enabled in d4316604f8 (pack-objects:
default to writing bitmap hash-cache, 2019-03-15), which has been
released quite a while ago.
Rely on the default value to simplify the code.
-rw-r--r-- | internal/git/housekeeping/objects.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/git/housekeeping/objects.go b/internal/git/housekeeping/objects.go index 54b474d6f..b823f762a 100644 --- a/internal/git/housekeeping/objects.go +++ b/internal/git/housekeeping/objects.go @@ -83,7 +83,6 @@ func GetRepackGitConfig(ctx context.Context, repo repository.GitRepo, bitmap boo if bitmap { config = append(config, git.ConfigPair{Key: "repack.writeBitmaps", Value: "true"}) - config = append(config, git.ConfigPair{Key: "pack.writeBitmapHashCache", Value: "true"}) } else { config = append(config, git.ConfigPair{Key: "repack.writeBitmaps", Value: "false"}) } |