]> git.ipfire.org Git - thirdparty/git.git/commit
odb/source: make `for_each_object()` function pluggable
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Mar 2026 14:19:51 +0000 (15:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 19:45:16 +0000 (11:45 -0800)
commitfdefdc2e6979e9e8cb28b34c458f42b44f217bf0
tree1a0f9e53968bc428519b7d907c2069c7f0437337
parent1f3fd68e065b0f44432dc78c1b6f6e636929363e
odb/source: make `for_each_object()` function pluggable

Introduce a new callback function in `struct odb_source` to make the
function pluggable.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
odb.c
odb.h
odb/source-files.c
odb/source.h