checkout: print something when checking out paths
[gitweb.git] / builtin / commit.c
index 074bd9a55160a8efcaa1c108afcf6bd6bc360626..96d336ec3d8044918fb260d6cf8c03296cf32ed1 100644 (file)
@@ -1363,7 +1363,7 @@ int cmd_status(int argc, const char **argv, const char *prefix)
        if (status_format != STATUS_FORMAT_PORCELAIN &&
            status_format != STATUS_FORMAT_PORCELAIN_V2)
                progress_flag = REFRESH_PROGRESS;
-       read_index_preload(&the_index, &s.pathspec, progress_flag);
+       read_index(&the_index);
        refresh_index(&the_index,
                      REFRESH_QUIET|REFRESH_UNMERGED|progress_flag,
                      &s.pathspec, NULL, NULL);