summaryrefslogtreecommitdiff
path: root/sigchain.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2013-06-20 10:37:48 +0200
committerJunio C Hamano <gitster@pobox.com>2013-06-20 15:50:17 -0700
commit8baf2bb99a22f8265a26d97f706a27e39911f69e (patch)
treef897080265b79b6f81cb6ffad650919ab72b8d71 /sigchain.h
parent5f5e2a8868e2b5792bf467799339e3288282e91e (diff)
downloadgit-8baf2bb99a22f8265a26d97f706a27e39911f69e.tar.gz
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 'sigchain.h')
0 files changed, 0 insertions, 0 deletions