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()
This commit is contained in:
3
cache.h
3
cache.h
@ -661,6 +661,9 @@ extern int daemonize(void);
|
||||
/* Initialize and use the cache information */
|
||||
struct lock_file;
|
||||
extern int read_index(struct index_state *);
|
||||
extern void preload_index(struct index_state *index,
|
||||
const struct pathspec *pathspec,
|
||||
unsigned int refresh_flags);
|
||||
extern int read_index_preload(struct index_state *,
|
||||
const struct pathspec *pathspec,
|
||||
unsigned int refresh_flags);
|
||||
|
||||
Reference in New Issue
Block a user