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