]> Kevux Git Server - rit/commit
odb/source: make `write_object()` function pluggable
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Mar 2026 14:19:53 +0000 (15:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 19:45:16 +0000 (11:45 -0800)
commit6e76c3ab69f9b30530d50550a2feb7d8bda935db
treecbd9a7639b440c128063475489576c39b993b9ec
parent6a38b13fbac73d1a1982f9211c5c3e64e1191696
odb/source: make `write_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/source-files.c
odb/source.h