refs: demonstrate excessive execution of the reference-transaction hook
commit2ce825436268d6409bee8ebb5f5500b7ff172b1e
authorPatrick Steinhardt <ps@pks.im>
Mon, 17 Jan 2022 08:12:44 +0000 (17 09:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Jan 2022 19:01:45 +0000 (17 11:01 -0800)
tree3d4175599a049c148adc3ea095f094c522d799bf
parent958fbc74e3d0fcc88b2065190e23db556a963644
refs: demonstrate excessive execution of the reference-transaction hook

Add tests which demonstate that we're executing the
reference-transaction hook too often in some cases, which thus leaks
implementation details about the reference store's implementation
itself. Behaviour will be fixed in follow-up commits.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1416-ref-transaction-hooks.sh