summaryrefslogtreecommitdiff
path: root/archive.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-08-13 00:36:29 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-14 15:18:52 -0700
commit0e88c130f2f6309932464d4919725e54837978c7 (patch)
tree05616c7bb272c4fe1c6ee4c94da763876644619c /archive.c
parentce40979cf83c4c92421f9dd56cc4eabb67c85f29 (diff)
downloadgit-0e88c130f2f6309932464d4919725e54837978c7.tar.gz
Retain caches of submodule refs
Instead of keeping track of one cache for refs in the main repo and another single cache shared among submodules, keep a linked list of cached_refs objects, one for each module/submodule. Change invalidate_cached_refs() to invalidate all caches. (Previously, it only invalidated the cache of the main repo because the submodule caches were not reused anyway.) Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.c')
0 files changed, 0 insertions, 0 deletions