summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2021-03-30 13:10:49 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-03-30 12:57:45 -0700
commitecfc47c0667f9a580abaca0472f68efa0a8784e8 (patch)
tree121fb3200bffc68e147b2b42834e1999d954e711 /t/README
parentsparse-index: implement ensure_full_index() (diff)
downloadtgif-ecfc47c0667f9a580abaca0472f68efa0a8784e8.tar.xz
t1092: compare sparse-checkout to sparse-index
Add a new 'sparse-index' repo alongside the 'full-checkout' and 'sparse-checkout' repos in t1092-sparse-checkout-compatibility.sh. Also add run_on_sparse and test_sparse_match helpers. These helpers will be used when the sparse index is implemented. Add the GIT_TEST_SPARSE_INDEX environment variable to enable the sparse-index by default. This can be enabled across all tests, but that will only affect cases where the sparse-checkout feature is enabled. 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/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/README b/t/README
index 593d4a4e27..b98bc563aa 100644
--- a/t/README
+++ b/t/README
@@ -439,6 +439,9 @@ and "sha256".
GIT_TEST_WRITE_REV_INDEX=<boolean>, when true enables the
'pack.writeReverseIndex' setting.
+GIT_TEST_SPARSE_INDEX=<boolean>, when true enables index writes to use the
+sparse-index format by default.
+
Naming Tests
------------