diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-06-01 10:20:36 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-06-01 18:47:18 +0900 |
| commit | 87588db131a5c1c33471606860951c9959bbe6ae (patch) | |
| tree | 1739e31cf0d4ad468057e29e668694d4ea310fc4 /t/t4013/diff.diff_initial..side | |
| parent | d8b9e8bb23ece128179ad54ed5ecbcd4bd809b1e (diff) | |
loose: refactor object map to operate on `struct odb_source_loose`
While the loose object map functions in "loose.c" accept a generic
`struct odb_source *`, they always expect this to be the "files"
backend. Furthermore, the subsystem doesn't even care about the "files"
backend, but only uses it as a stepping stone to get to the "loose"
backend.
This assumption is implicit and thus not immediately obvious. Refactor
the interfaces to instead operate on a `struct odb_source_loose`
instead, which eliminates the implicit dependency and unnecessary detour
via the "files" 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
