author | Michael Haggerty <mhagger@alum.mit.edu> | |
Mon, 17 Oct 2011 02:38:07 +0000 (04:38 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 17 Oct 2011 04:10:49 +0000 (21:10 -0700) | ||
commit | 8be8bde75f90661ecd118ac890290889e184063d | |
tree | fb225b2b6bc2bbedd7f1902773830ed465ede3f4 | tree | snapshot |
parent | 3870a0d1d88e2e42b70c2586d3a1fda63226953c | commit | diff |
invalidate_ref_cache(): expose this function in the refs API
Make invalidate_ref_cache() an official part of the refs API. It is
currently a fact of life that code outside of refs.c mucks about with
references. This change gives such code a way of informing the refs
module that it should no longer trust its cache.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Make invalidate_ref_cache() an official part of the refs API. It is
currently a fact of life that code outside of refs.c mucks about with
references. This change gives such code a way of informing the refs
module that it should no longer trust its cache.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | diff | blob | history | |
refs.h | diff | blob | history |