summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2019-01-16 18:26:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-17 21:44:44 (GMT)
commit99dbbfa8ddbba2b620965d026d4ec199b8837a6f (patch)
treeb987c25649989bca559afe21afdc624e648cab8e /t/README
parent3d036eb0d2c778941cd31b8785d5036949e8778b (diff)
downloadgit-99dbbfa8ddbba2b620965d026d4ec199b8837a6f.zip
git-99dbbfa8ddbba2b620965d026d4ec199b8837a6f.tar.gz
git-99dbbfa8ddbba2b620965d026d4ec199b8837a6f.tar.bz2
pack-objects: create GIT_TEST_PACK_SPARSE
Create a test variable GIT_TEST_PACK_SPARSE to enable the sparse object walk algorithm by default during the test suite. Enabling this variable ensures coverage in many interesting cases, such as shallow clones, partial clones, and missing objects. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/README')
-rw-r--r--t/README4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/README b/t/README
index 28711cc..8b6dfe1 100644
--- a/t/README
+++ b/t/README
@@ -342,6 +342,10 @@ 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_PACK_SPARSE=<boolean> if enabled will default the pack-objects
+builtin to use the sparse object walk. This can still be overridden by
+the --no-sparse command-line argument.
+
GIT_TEST_PRELOAD_INDEX=<boolean> exercises the preload-index code path
by overriding the minimum number of cache entries required per thread.