mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
Merge branch 'sh/enable-preloadindex'
* sh/enable-preloadindex: environment.c: enable core.preloadindex by default
This commit is contained in:
commit
96b29bde91
|
@ -621,9 +621,9 @@ core.preloadindex::
|
||||||
+
|
+
|
||||||
This can speed up operations like 'git diff' and 'git status' especially
|
This can speed up operations like 'git diff' and 'git status' especially
|
||||||
on filesystems like NFS that have weak caching semantics and thus
|
on filesystems like NFS that have weak caching semantics and thus
|
||||||
relatively high IO latencies. With this set to 'true', Git will do the
|
relatively high IO latencies. When enabled, Git will do the
|
||||||
index comparison to the filesystem data in parallel, allowing
|
index comparison to the filesystem data in parallel, allowing
|
||||||
overlapping IO's.
|
overlapping IO's. Defaults to true.
|
||||||
|
|
||||||
core.createObject::
|
core.createObject::
|
||||||
You can set this to 'link', in which case a hardlink followed by
|
You can set this to 'link', in which case a hardlink followed by
|
||||||
|
|
|
@ -72,7 +72,7 @@ char comment_line_char = '#';
|
||||||
int auto_comment_line_char;
|
int auto_comment_line_char;
|
||||||
|
|
||||||
/* Parallel index stat data preload? */
|
/* Parallel index stat data preload? */
|
||||||
int core_preload_index = 0;
|
int core_preload_index = 1;
|
||||||
|
|
||||||
/* This is set by setup_git_dir_gently() and/or git_default_config() */
|
/* This is set by setup_git_dir_gently() and/or git_default_config() */
|
||||||
char *git_work_tree_cfg;
|
char *git_work_tree_cfg;
|
||||||
|
|
Loading…
Reference in a new issue