checkout: print something when checking out paths
[gitweb.git] / builtin / update-index.c
index 07c10bcb7d82c19becf424f9ab63954c9e58f93f..0e1dcf0438f7b2ec37b404d3f2acb7bd70650b67 100644 (file)
@@ -782,7 +782,7 @@ struct refresh_params {
 static int refresh(struct refresh_params *o, unsigned int flag)
 {
        setup_work_tree();
-       read_cache_preload(NULL);
+       read_cache();
        *o->has_errors |= refresh_cache(o->flags | flag);
        return 0;
 }