Skip to content

Commit

Permalink
Merge branch 'sh/enable-preloadindex'
Browse files Browse the repository at this point in the history
* sh/enable-preloadindex:
  environment.c: enable core.preloadindex by default
  • Loading branch information
Junio C Hamano committed Jun 16, 2014
2 parents bb0ced7 + 299e298 commit 96b29bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion environment.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 96b29bd

Please sign in to comment.