diff options
author | Patrick Steinhardt <ps@pks.im> | 2022-01-17 09:12:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-17 11:01:45 -0800 |
commit | 958fbc74e3d0fcc88b2065190e23db556a963644 (patch) | |
tree | 903aaaef928b0f51d2e29707b44bc178b874ee0a /t/t4034/csharp/post | |
parent | refs: allow passing flags when beginning transactions (diff) | |
download | tgif-958fbc74e3d0fcc88b2065190e23db556a963644.tar.xz |
refs: allow skipping the reference-transaction hook
The reference-transaction hook is executing whenever we prepare, commit
or abort a reference transaction. While this is mostly intentional, in
case of the files backend we're leaking the implementation detail that
the store is in fact a composite store with one loose and one packed
backend to the caller. So while we want to execute the hook for all
logical updates, executing it for such implementation details is
unexpected.
Prepare for a fix by adding a new flag which allows to skip execution of
the hook.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/csharp/post')
0 files changed, 0 insertions, 0 deletions