summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorLibravatar Ben Peart <benpeart@microsoft.com>2018-09-18 23:29:37 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-28 11:41:01 -0700
commit5765d97b71d7489f927354e1704fc0d1d7ef90a0 (patch)
tree3a70266eea5461b3295bf83805c6bb676f164bbf /t/README
parentread-cache: update TEST_GIT_INDEX_VERSION support (diff)
downloadtgif-5765d97b71d7489f927354e1704fc0d1d7ef90a0.tar.xz
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/README')
-rw-r--r--t/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/README b/t/README
index 9b13f6d12e..5670c7aad0 100644
--- a/t/README
+++ b/t/README
@@ -327,6 +327,9 @@ GIT_TEST_INDEX_VERSION=<n> exercises the index read/write code path
for the index version specified. Can be set to any valid version
(currently 2, 3, or 4).
+GIT_TEST_PRELOAD_INDEX=<boolean> exercises the preload-index code path
+by overriding the minimum number of cache entries required per thread.
+
Naming Tests
------------