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