Re: [PATCH v2 1/7] invalidate_ref_cache(): rename function from invalidate_cached_refs()
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Oct 11, 2011, 05:53 UTC
- Message-ID
- <4E93D9DF.2080004@alum.mit.edu>
- In-Reply-To
- <7vfwj0iehl.fsf@alter.siamese.dyndns.org>
On 10/11/2011 02:00 AM, Junio C Hamano wrote:
Show 11 quoted lines
> Michael Haggerty <mhagger@alum.mit.edu> writes: > >> It is the cache that is being invalidated, not the references. >> >> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> >> --- > > Although I think one can say "ref cache is the container for cached refs" > and invalidating the "ref cache" as the container and invalidating the > "cached refs" as a collection mean essentially the same thing, probably > the new name makes more sense.
I certainly didn't mean to imply that the old name was incorrect. I just think that the new name removes a tiny bit of ambiguity.
Michael
-- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/