stash: convert pop to builtin
[gitweb.git] / builtin / commit.c
index 500f793fa6947f6309ce4ea82d15410e35b2ff20..c021b119bb9df106ab7a860e032ea5dd35529401 100644 (file)
@@ -1366,7 +1366,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);