read-tree: expand sparse checkout test coverage
commit14bf38cfcff0b68468444e85bc09c7d5007be34b
authorVictoria Dye <vdye@github.com>
Tue, 1 Mar 2022 20:24:27 +0000 (1 20:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Mar 2022 20:36:01 +0000 (1 12:36 -0800)
tree9ebc7d74c68477c6a47bb2a35366c55bcf4bb4d2
parentcc89331ddc92cd89012eaf7937d167b3e0beaecc
read-tree: expand sparse checkout test coverage

Add tests focused on how 'git read-tree' behaves in sparse checkouts. Extra
emphasis is placed on interactions with files outside the sparse cone, e.g.
merges with out-of-cone conflicts.

Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Victoria Dye <vdye@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p2000-sparse-operations.sh
t/t1092-sparse-checkout-compatibility.sh