Merge branch 'nd/status-refresh-progress'
"git status" learns to show progress bar when refreshing the index takes a long time. * nd/status-refresh-progress: status: show progress bar if refreshing the index takes too long
This commit is contained in:
@ -2328,7 +2328,7 @@ int cmd_am(int argc, const char **argv, const char *prefix)
|
||||
/* Ensure a valid committer ident can be constructed */
|
||||
git_committer_info(IDENT_STRICT);
|
||||
|
||||
if (read_index_preload(&the_index, NULL) < 0)
|
||||
if (read_index_preload(&the_index, NULL, 0) < 0)
|
||||
die(_("failed to read the index"));
|
||||
|
||||
if (in_progress) {
|
||||
|
||||
Reference in New Issue
Block a user