summaryrefslogtreecommitdiff
path: root/t/t3309-notes-merge-auto-resolve.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-06-20 10:37:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-20 15:50:17 -0700
commit8baf2bb99a22f8265a26d97f706a27e39911f69e (patch)
treef897080265b79b6f81cb6ffad650919ab72b8d71 /t/t3309-notes-merge-auto-resolve.sh
parentrefs: manage lifetime of packed refs cache via reference counting (diff)
downloadtgif-8baf2bb99a22f8265a26d97f706a27e39911f69e.tar.xz
do_for_each_entry(): increment the packed refs cache refcount
This function calls a user-supplied callback function which could do something that causes the packed refs cache to be invalidated. So acquire a reference count on the data structure to prevent our copy from being freed while we are iterating over it. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3309-notes-merge-auto-resolve.sh')
0 files changed, 0 insertions, 0 deletions