environment.c: enable core.preloadindex by default
commit299e29870b777818ab84a508c901a4ef924f6fd4
authorSteve Hoelzer <shoelzer@gmail.com>
Mon, 2 Jun 2014 16:43:00 +0000 (2 11:43 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jun 2014 17:06:53 +0000 (3 10:06 -0700)
treee866a7c5268dbc54a3fe8fe6e3fcecfe6ff814ca
parente156455ea49124c140a67623f22a393db62d5d98
environment.c: enable core.preloadindex by default

Many people are on filesystems with horrible stat latency (not
limited to Windows but also NFS), which core.preloadindex was
designed to help.  We discussed enabling it by default early in 2013
but didn't.

Per

  http://thread.gmane.org/gmane.comp.version-control.git/219273/focus=219322

let's enable the setting by default, with the original choice of max
20 threads / min 500 paths per thread parameters.

Signed-off-by: Steve Hoelzer <shoelzer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
environment.c