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/describe.c | |
| parent | 409b3f287b63a4c911a6b3db6d31145a0fe981a1 (diff) | |
| parent | 6c5b7f55a845bccf7b3abda92a78c621898d838d (diff) | |
| download | git-11aa560de964e800aabce446d600ab0fb4c90c20.tar.gz | |
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/describe.c')
| -rw-r--r-- | builtin/describe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/describe.c b/builtin/describe.c index c48c34e866..cc118448ee 100644 --- a/builtin/describe.c +++ b/builtin/describe.c @@ -629,7 +629,7 @@ int cmd_describe(int argc, const char **argv, const char *prefix) struct argv_array args = ARGV_ARRAY_INIT; int fd, result; - read_cache_preload(NULL); + read_cache(); refresh_index(&the_index, REFRESH_QUIET|REFRESH_UNMERGED, NULL, NULL, NULL); fd = hold_locked_index(&index_lock, 0); |
