completion: For consistency, change "git rev-parse" to __gitdir calls
[gitweb.git] / symlinks.c
index 31ddbc9e9654994b8a779cc76fe3f16b717f029a..f262b7c44b387f4c60901124c30585b3c059fa73 100644 (file)
@@ -195,6 +195,14 @@ void invalidate_lstat_cache(int len, const char *name)
        }
 }
 
+/*
+ * Completely clear the contents of the cache
+ */
+void clear_lstat_cache(void)
+{
+       reset_lstat_cache(0, 0);
+}
+
 #define USE_ONLY_LSTAT  0
 
 /*