Merge branch 'nd/the-index' into md/list-objects-filter-by-depth
[gitweb.git] / builtin / describe.c
index c48c34e8667c36a42101fffe51bd96f1a4d36842..cc118448ee00d2c4336422afbad1799babfb5783 100644 (file)
@@ -629,7 +629,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
                        struct argv_array args = ARGV_ARRAY_INIT;
                        int fd, result;
 
-                       read_cache_preload(NULL);
+                       read_cache();
                        refresh_index(&the_index, REFRESH_QUIET|REFRESH_UNMERGED,
                                      NULL, NULL, NULL);
                        fd = hold_locked_index(&index_lock, 0);