checkout-index: expand sparse checkout compatibility tests
commitb553ef674965f41bfff4e0a2c330f9087b3cd6b7
authorVictoria Dye <vdye@github.com>
Tue, 11 Jan 2022 18:05:01 +0000 (11 18:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jan 2022 21:49:45 +0000 (13 13:49 -0800)
treef4f6c2bcc726285d4466c21ff713cf6ee5190d86
parent1e9e10e04891a13e5ccd52b36cfadc55dfaa5066
checkout-index: expand sparse checkout compatibility tests

Add tests to cover `checkout-index`, with a focus on cases interesting in a
sparse checkout (e.g., files specified outside sparse checkout definition).

New tests are intended to serve as a baseline for existing and/or expected
behavior and performance when integrating `checkout-index` with the sparse
index. Note that the test 'checkout-index --all' is marked as
'test_expect_failure', indicating that `update-index --all` will be modified
in a subsequent patch to behave as the test expects.

Signed-off-by: Victoria Dye <vdye@github.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p2000-sparse-operations.sh
t/t1092-sparse-checkout-compatibility.sh