I am happy to provide the API; see the following patches. But I won't have time to figure out who, outside of refs.c, has to *call* invalidate_cached_refs(). The candidates that I know off the top of my head are git-clone, git-submodule, and git-pack-refs. It would be great if experts in those areas would insert calls to invalidate_cached_refs() where needed. Even better would be if the meddlesome code were changed to use the refs API. I'd be happy to help expanding the refs API if needed to accommodate your needs. Michael Haggerty (2): invalidate_cached_refs(): take the submodule as parameter invalidate_cached_refs(): expose this function in refs API refs.c | 12 ++++-------- refs.h | 8 ++++++++ 2 files changed, 12 insertions(+), 8 deletions(-) -- 1.7.7.rc2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html