diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-13 22:37:25 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-13 22:37:26 +0900 |
commit | 11aa560de964e800aabce446d600ab0fb4c90c20 (patch) | |
tree | 3762ed62fab19d43f05030f44a9ec6edef978f25 /builtin/update-index.c | |
parent | Merge branch 'ag/rebase-i-in-c' (diff) | |
parent | refresh_index: remove unnecessary calls to preload_index() (diff) | |
download | tgif-11aa560de964e800aabce446d600ab0fb4c90c20.tar.xz |
Merge branch 'bp/refresh-index-using-preload'
The helper function to refresh the cached stat information in the
in-core index has learned to perform the lstat() part of the
operation in parallel on multi-core platforms.
* bp/refresh-index-using-preload:
refresh_index: remove unnecessary calls to preload_index()
speed up refresh_index() by utilizing preload_index()
Diffstat (limited to 'builtin/update-index.c')
-rw-r--r-- | builtin/update-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/update-index.c b/builtin/update-index.c index 07c10bcb7d..0e1dcf0438 100644 --- a/builtin/update-index.c +++ b/builtin/update-index.c @@ -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; } |