diff options
| author | Victoria Dye <vdye@github.com> | 2022-03-01 20:24:27 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-03-01 12:36:01 -0800 |
| commit | 14bf38cfcff0b68468444e85bc09c7d5007be34b (patch) | |
| tree | 9ebc7d74c68477c6a47bb2a35366c55bcf4bb4d2 /t/perf/p2000-sparse-operations.sh | |
| parent | read-tree: explicitly disallow prefixes with a leading '/' (diff) | |
| download | git-14bf38cfcff0b68468444e85bc09c7d5007be34b.tar.gz git-14bf38cfcff0b68468444e85bc09c7d5007be34b.zip | |
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>
Diffstat (limited to 't/perf/p2000-sparse-operations.sh')
| -rwxr-xr-x | t/perf/p2000-sparse-operations.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/perf/p2000-sparse-operations.sh b/t/perf/p2000-sparse-operations.sh index 2a7106b949..382716cfca 100755 --- a/t/perf/p2000-sparse-operations.sh +++ b/t/perf/p2000-sparse-operations.sh @@ -117,6 +117,7 @@ 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 read-tree -mu HEAD test_perf_on_all git checkout-index -f --all test_perf_on_all git update-index --add --remove $SPARSE_CONE/a |
