preload-index: use git_env_bool() not getenv() for customization
authorBen Peart <benpeart@microsoft.com>
Tue, 18 Sep 2018 23:29:34 +0000 (23:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Sep 2018 17:39:04 +0000 (10:39 -0700)
GIT_FORCE_PRELOAD_TEST is only checked for presence by using getenv().
Use git_env_bool() instead so that GIT_FORCE_PRELOAD_TEST=false can
work as expected.

Signed-off-by: Ben Peart <Ben.Peart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found