summaryrefslogtreecommitdiff
path: root/test-line-buffer.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-06-20 10:37:45 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-20 15:50:17 -0700
commit2fff7812902abd0afe05ae1e9ef334fcd26f0389 (patch)
treebd1883d6d6a660e2c5768867e7e65ec44b7b6cb7 /test-line-buffer.c
parentpack_refs(): split creation of packed refs and entry writing (diff)
downloadtgif-2fff7812902abd0afe05ae1e9ef334fcd26f0389.tar.xz
refs: wrap the packed refs cache in a level of indirection
As we know, we can solve any problem in this manner. In this case, the problem is to avoid freeing a packed refs cache while somebody is using it. So add a level of indirection as a prelude to reference-counting the packed refs cache. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-line-buffer.c')
0 files changed, 0 insertions, 0 deletions