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