Re: [PATCH v4 0/7] Provide API to invalidate refs cache
- From
Heiko Voigt <hvoigt@hvoigt.net>
- Date
- Oct 17, 2011, 18:47 UTC
- Message-ID
- <20111017184708.GB2540@sandbox-rc>
- In-Reply-To
- <1318819091-7066-1-git-send-email-mhagger@alum.mit.edu>
Hi,
On Mon, Oct 17, 2011 at 04:38:04AM +0200, mhagger@alum.mit.edu wrote:
Show 5 quoted lines
> I won't myself have time to figure out who, outside of refs.c, has to > *call* invalidate_ref_cache(). The candidates that I know off the top > of my head are git-clone, git-submodule [1], and git-pack-refs. It > would be great if experts in those areas would insert calls to > invalidate_ref_cache() where needed.
[...]
> [1] http://marc.info/?l=git&m=131827641227965&w=2 > In this mailing list thread, Heiko Voigt stated that git-submodule > does not modify any references, so it should not have to use the > API.
This is not entirely true. I was saying that my submodule-merge code is currently the only one using the refs api for submodules and that does not need to modify submodule refs. I imagine that there will be some users when submodule support matures (e.g. recursive push).
Cheers Heiko