clear_ref_cache(): extract two new functions
commit760c4512e54e524e3a19905c10a65209fda20c12
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 17 Oct 2011 02:38:09 +0000 (17 04:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Oct 2011 04:11:33 +0000 (16 21:11 -0700)
tree201737d0020954ada26b548cee4796aae2d1b525
parent1b7edaf94bf03eed4092d6f8bc8815fa42292685
clear_ref_cache(): extract two new functions

Extract two new functions from clear_cached_refs():
clear_loose_ref_cache() and clear_packed_ref_cache().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c