summaryrefslogtreecommitdiff
path: root/list-objects.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2011-10-17 04:38:10 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-16 21:12:04 -0700
commit8bf90dc9bdf3fb1d2b1b2eb46293a719a3638acb (patch)
treed7d6ae334deccfba25ee04c1625eaf862d2e7431 /list-objects.c
parentclear_ref_cache(): extract two new functions (diff)
downloadtgif-8bf90dc9bdf3fb1d2b1b2eb46293a719a3638acb.tar.xz
write_ref_sha1(): only invalidate the loose ref cache
Since write_ref_sha1() can only write loose refs and cannot write symbolic refs, there is no need for it to invalidate the packed ref cache. Suggested by: Martin Fick <mfick@codeaurora.org> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects.c')
0 files changed, 0 insertions, 0 deletions