diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-07-13 07:52:13 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-13 08:13:17 -0700 |
| commit | 0a778894b9676a1e93870589851731dad05e086a (patch) | |
| tree | 71bee33dc8193ec6dffb9968d7b57dce200d16ea /t/t4013/diff.diff_initial..side | |
| parent | 841ca632be7ad515c4e8f0d5b4ab2cba7454f402 (diff) | |
builtin/gc: refactor ODB optimizations to operate on "files" source
We have a couple of functions that are implementation details of how the
"files" object database source performs optimizations. These functions
often use global state like `the_repository` and implicitly derive the
source they are supposed to optimize.
Refactor these interfaces to accept a "files" source directly. This will
make it easier to move around the whole logic into "odb/source-files.c"
in a subsequent step.
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
