summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-07-13 07:52:11 +0200
committerJunio C Hamano <gitster@pobox.com>2026-07-13 08:13:16 -0700
commit7d663dd83ba2ae459178c98f96c0761d044698b4 (patch)
tree90cea08a9d792cbab0df7deb4df654a443f24adc /t/t4013/diff.diff_initial..side
parentcc78c5029e62e6e1283c7d05bf60d845922aac9b (diff)
builtin/gc: move geometric repacking into `odb_optimize()`
We have two major object database optimization strategies: - The legacy strategy used by git-gc(1), which absorbs loose objects into packfiles, and eventually merges all packfiles once we have too many of them. - The more recent "geometric" strategy used by git-maintenance(1), which merges packfiles using a geometric sequence. These two strategies are still using completely separate code paths. In a subsequent commit we'll want to make both strategies pluggable though. Prepare for this change by merging the "geometric" strategy into `odb_optimize()`. This also allows us to reuse some of the logic we have in that function. Note that this change requires us to adapt tests because we're now using "-q" instead of "--quiet". Naturally though, these invocations are of course equivalent to one another. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions