diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-06-17 08:39:59 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-06-17 05:00:01 -0700 |
| commit | 7fa8c61afe29bfb82066c81a82ed6393f34dd704 (patch) | |
| tree | f0fe2983438ecb05984b9e8615990e734c77f5b7 /t/t4013/diff.diff_initial..side | |
| parent | f236b0c38d11b97930608384eaddd210f74fc7ab (diff) | |
midx: refactor interfaces to work on "packed" source
Our interfaces used to interact with MIDXs all work on top of the
generic `struct odb_source`. This doesn't make much sense though: a MIDX
is strictly tied to the "packed" source, so passing in a generic source
gives the false sense that it may also work with a different type of
source.
Fix this conceptual weirdness and instead require the caller to pass in
a "packed" source explicitly. This also makes the next commit easier to
implement, where we drop the pointer to the "files" source in the
"packed" source.
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
