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>
This commit is contained in:

committed by
Junio C Hamano

parent
1e9e10e048
commit
b553ef6749
@ -117,5 +117,6 @@ test_perf_on_all git diff
|
||||
test_perf_on_all git diff --cached
|
||||
test_perf_on_all git blame $SPARSE_CONE/a
|
||||
test_perf_on_all git blame $SPARSE_CONE/f3/a
|
||||
test_perf_on_all git checkout-index -f --all
|
||||
|
||||
test_done
|
||||
|
Reference in New Issue
Block a user