diff options
author | 2019-01-16 10:26:01 -0800 | |
---|---|---|
committer | 2019-01-17 13:44:44 -0800 | |
commit | 99dbbfa8ddbba2b620965d026d4ec199b8837a6f (patch) | |
tree | b987c25649989bca559afe21afdc624e648cab8e /t/README | |
parent | pack-objects: create pack.useSparse setting (diff) | |
download | tgif-99dbbfa8ddbba2b620965d026d4ec199b8837a6f.tar.xz |
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/README | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |