]> Kevux Git Server - rit/commit
odb/source: make `freshen_object()` function pluggable
authorPatrick Steinhardt <ps@pks.im>
Thu, 5 Mar 2026 14:19:52 +0000 (15:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2026 19:45:16 +0000 (11:45 -0800)
commit6a38b13fbac73d1a1982f9211c5c3e64e1191696
tree5476c9e8b1b91e9189384d434676ea906be52d8e
parentfdefdc2e6979e9e8cb28b34c458f42b44f217bf0
odb/source: make `freshen_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