diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-06-20 10:37:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-20 15:50:17 -0700 |
commit | 8baf2bb99a22f8265a26d97f706a27e39911f69e (patch) | |
tree | f897080265b79b6f81cb6ffad650919ab72b8d71 /t/t7510-signed-commit.sh | |
parent | refs: manage lifetime of packed refs cache via reference counting (diff) | |
download | tgif-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/t7510-signed-commit.sh')
0 files changed, 0 insertions, 0 deletions