summaryrefslogtreecommitdiff
path: root/commit-graph.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-10-24 08:57:17 +0200
committerJunio C Hamano <gitster@pobox.com>2025-10-24 13:42:43 -0700
commit5c2ad50193896dc74e51e4b7a5af4ea734746316 (patch)
tree115507802d550040b5f8fc9e756035e80dd40832 /commit-graph.h
parent9bc151850c1c593f4baf8d6d2a1d14bb4875844a (diff)
builtin/maintenance: make the geometric factor configurable
The geometric repacking task uses a factor of two for its geometric sequence, meaning that each next pack must contain at least twice as many objects as the next-smaller one. In some cases it may be helpful to configure this factor though to reduce the number of packfile merges even further, e.g. in very big repositories. But while git-repack(1) itself supports doing this, the maintenance task does not give us a way to tune it. Introduce a new "maintenance.geometric-repack.splitFactor" configuration to plug this gap. Signed-off-by: Patrick Steinhardt <ps@pks.im> Acked-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions