diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-07-13 07:52:08 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-13 08:13:16 -0700 |
| commit | 4d93bf9873696a33a9959c912e7a3fa4fb56a82b (patch) | |
| tree | 2f2b107dc968fc6f68c6b90c87a1d0fe07161040 /t/t4013/diff.diff_initial..side | |
| parent | e86fe6fe62d0fb5b54a1afed6166d3e27d28f081 (diff) | |
builtin/gc: make repack arguments self-contained
When optimizing the object database most of the heavy-lifting is done by
git-repack(1). The arguments we pass to this function are assembled in
global scope, which is hard to follow.
Refactor the logic by moving the vector into `maintenance_task_odb()`.
While that means we have to pass more arguments to this function, it has
the upside that the logic becomes self-contained without any kind of
global interdependencies.
This is a pure refactoring with no intended functional change.
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
