Merge branch 'sh/enable-preloadindex'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 19:18:49 +0000 (12:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 19:18:49 +0000 (12:18 -0700)
* sh/enable-preloadindex:
environment.c: enable core.preloadindex by default

Documentation/config.txt
environment.c
index 20cb3a25bc6bc77e62fe05c6ce2d1e8e16e2bfea..9f467d3820a40d1281d29707e98fa16c2bbde63f 100644 (file)
@@ -621,9 +621,9 @@ core.preloadindex::
 +
 This can speed up operations like 'git diff' and 'git status' especially
 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
-overlapping IO's.
+overlapping IO's.  Defaults to true.
 
 core.createObject::
        You can set this to 'link', in which case a hardlink followed by
index c648ac3d3af1f86889ccc34e7f794683bd1951ea..4dac5e9edd75499ccf52debc847807d2fc180730 100644 (file)
@@ -72,7 +72,7 @@ char comment_line_char = '#';
 int auto_comment_line_char;
 
 /* 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() */
 char *git_work_tree_cfg;