]> git.ipfire.org Git - thirdparty/git.git/commit
odb/source: make `reprepare()` function pluggable
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Mar 2026 14:19:47 +0000 (15:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 19:45:15 +0000 (11:45 -0800)
commit05151cf3602d5ebaaa4e04c415e8481cb1c7ddf6
tree4e0ce63042fcf7d3a01660d66ca88a44ca8d57c9
parent47b965079ddd9ced04810d0a8738a1ca94f02268
odb/source: make `reprepare()` 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/source-files.c
odb/source.h