diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-06-20 10:37:49 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-06-20 15:50:17 -0700 |
| commit | 4f6b83e3708943c3b3f4ac911da7d0c30019c20a (patch) | |
| tree | db5cf558debd9d1a708a32f37f8b69bcb835f2a3 /commit.c | |
| parent | do_for_each_entry(): increment the packed refs cache refcount (diff) | |
| download | git-4f6b83e3708943c3b3f4ac911da7d0c30019c20a.tar.gz git-4f6b83e3708943c3b3f4ac911da7d0c30019c20a.zip | |
packed_ref_cache: increment refcount when locked
Increment the packed_ref_cache reference count while it is locked to
prevent its being freed.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
