From: Junio C Hamano Date: Fri, 18 Feb 2022 21:53:27 +0000 (-0800) Subject: Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs' X-Git-Tag: v2.36.0-rc0~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=991b4d47f0accd3955d05927d5ce434e03ffbdb6;p=thirdparty%2Fgit.git Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs' Because a deletion of ref would need to remove it from both the loose ref store and the packed ref store, a delete-ref operation that logically removes one ref may end up invoking ref-transaction hook twice, which has been corrected. * ps/avoid-unnecessary-hook-invocation-with-packed-refs: refs: skip hooks when deleting uncovered packed refs refs: do not execute reference-transaction hook on packing refs refs: demonstrate excessive execution of the reference-transaction hook refs: allow skipping the reference-transaction hook refs: allow passing flags when beginning transactions refs: extract packed_refs_delete_refs() to allow control of transaction --- 991b4d47f0accd3955d05927d5ce434e03ffbdb6