]> git.ipfire.org Git - thirdparty/git.git/commit
odb/source: make `write_alternate()` function pluggable
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Mar 2026 14:19:56 +0000 (15:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 19:45:17 +0000 (11:45 -0800)
commiteb9635d83b7ef16df527db3e84def9d0c772344d
tree3f99a1d51f8ca693aab88600c544612239d92560
parent7ae23630c3ed012180edc88f0a9615a0d570a77c
odb/source: make `write_alternate()` 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