]> git.99rst.org Git - git.git/commit
t1092: refactor 'sparse-index contents' test
authorDerrick Stolee <redacted>
Mon, 23 May 2022 13:48:37 +0000 (13:48 +0000)
committerJunio C Hamano <redacted>
Mon, 23 May 2022 18:08:20 +0000 (11:08 -0700)
commitbaa73e2b75645a088268266a408f502457663876
tree295365ed147e88293917f6e82464e0f17ca1b85c
parente54793a95afeea1e10de1e5ad7eab914e7416250
t1092: refactor 'sparse-index contents' test

Before expanding this test with more involved cases, first extract the
repeated logic into a new test_sparse_checkout_set helper. This helper
checks that 'git sparse-checkout set ...' succeeds and then verifies
that certain directories have sparse directory entries in the sparse
index. It also verifies that the in-cone directories are _not_ sparse
directory entries in the sparse index.

Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t1092-sparse-checkout-compatibility.sh
git clone https://git.99rst.org/PROJECT