diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-03-30 13:10:49 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-30 12:57:45 -0700 |
commit | ecfc47c0667f9a580abaca0472f68efa0a8784e8 (patch) | |
tree | 121fb3200bffc68e147b2b42834e1999d954e711 /t/README | |
parent | sparse-index: implement ensure_full_index() (diff) | |
download | tgif-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/README | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 ------------ |