diff options
author | Ben Peart <benpeart@microsoft.com> | 2018-09-18 23:29:37 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-28 18:41:01 (GMT) |
commit | 5765d97b71d7489f927354e1704fc0d1d7ef90a0 (patch) | |
tree | 3a70266eea5461b3295bf83805c6bb676f164bbf /t/test-lib.sh | |
parent | 1f357b045b503873626a72ac97797352a3cd2e87 (diff) | |
download | git-5765d97b71d7489f927354e1704fc0d1d7ef90a0.zip git-5765d97b71d7489f927354e1704fc0d1d7ef90a0.tar.gz git-5765d97b71d7489f927354e1704fc0d1d7ef90a0.tar.bz2 |
preload-index: update GIT_FORCE_PRELOAD_TEST support
Rename GIT_FORCE_PRELOAD_TEST to GIT_TEST_PRELOAD_INDEX for consistency with
the other GIT_TEST_ special setups and properly document its use.
Add logic in t/test-lib.sh to give a warning when the old variable is set to
let people know they need to update their environment to use the new
variable.
Signed-off-by: Ben Peart <Ben.Peart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index e80c84d..8ef86e0 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -154,6 +154,7 @@ check_var_migration () { check_var_migration GIT_FSMONITOR_TEST GIT_TEST_FSMONITOR check_var_migration TEST_GIT_INDEX_VERSION GIT_TEST_INDEX_VERSION +check_var_migration GIT_FORCE_PRELOAD_TEST GIT_TEST_PRELOAD_INDEX # Use specific version of the index file format if test -n "${GIT_TEST_INDEX_VERSION:+isset}" |