Rename add_file_to_index() to add_file_to_cache()
[gitweb.git] / read-cache.c
index 747b50a99a5009e64594fe4e8da11c827a8db336..a8f8a6b2b23cdba612db175ee86a5f0db125c245 100644 (file)
@@ -325,7 +325,7 @@ int remove_file_from_cache(const char *path)
        return 0;
 }
 
-int add_file_to_index(const char *path, int verbose)
+int add_file_to_cache(const char *path, int verbose)
 {
        int size, namelen;
        struct stat st;