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