diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2011-08-13 00:36:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-14 15:18:52 -0700 |
commit | 0e88c130f2f6309932464d4919725e54837978c7 (patch) | |
tree | 05616c7bb272c4fe1c6ee4c94da763876644619c /diff.h | |
parent | Store the submodule name in struct cached_refs (diff) | |
download | tgif-0e88c130f2f6309932464d4919725e54837978c7.tar.xz |
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 'diff.h')
0 files changed, 0 insertions, 0 deletions