invalidate_ref_cache(): take the submodule as parameter
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 17 Oct 2011 02:38:06 +0000 (04:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Oct 2011 04:09:50 +0000 (21:09 -0700)
commit3870a0d1d88e2e42b70c2586d3a1fda63226953c
treec5ef2b770a7800a6aa948647f254b7ac384f6b0b
parent79c7ca54e1ae3f8c42baa6f792fd84d6cdab1af3
invalidate_ref_cache(): take the submodule as parameter

Instead of invalidating the ref cache on an all-or-nothing basis,
invalidate the cache for a specific submodule.

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