author | Michael Haggerty <mhagger@alum.mit.edu> | |
Mon, 17 Oct 2011 02:38:05 +0000 (04:38 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 17 Oct 2011 04:08:23 +0000 (21:08 -0700) | ||
commit | 79c7ca54e1ae3f8c42baa6f792fd84d6cdab1af3 | |
tree | b88e5bc84eb9d4f1eb4668a9cde1da2bd6f3bc57 | tree | snapshot |
parent | 8b0e15fa95e11965f18c8d2585dc8ffd9bfc9356 | commit | diff |
invalidate_ref_cache(): rename function from invalidate_cached_refs()
It is the cache that is being invalidated, not the references, and the
new name makes this unambiguous. Rename other items analogously:
* struct cached_refs -> struct ref_cache
* cached_refs (the variable) -> ref_cache
* clear_cached_refs() -> clear_ref_cache()
* create_cached_refs() -> create_ref_cache()
* get_cached_refs() -> get_ref_cache()
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
It is the cache that is being invalidated, not the references, and the
new name makes this unambiguous. Rename other items analogously:
* struct cached_refs -> struct ref_cache
* cached_refs (the variable) -> ref_cache
* clear_cached_refs() -> clear_ref_cache()
* create_cached_refs() -> create_ref_cache()
* get_cached_refs() -> get_ref_cache()
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | diff | blob | history |