invalidate_ref_cache(): expose this function in the refs API
[gitweb.git] / refs.c
diff --git a/refs.c b/refs.c
index 68b73aa1450f483a3116e045193a879515ecdb84..ddd799e65bdcc29ebd2dc5d530488b341b166f4d 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -202,7 +202,7 @@ static struct ref_cache *get_ref_cache(const char *submodule)
        return refs;
 }
 
-static void invalidate_ref_cache(const char *submodule)
+void invalidate_ref_cache(const char *submodule)
 {
        clear_ref_cache(get_ref_cache(submodule));
 }