summaryrefslogtreecommitdiff
path: root/t/perf
diff options
context:
space:
mode:
authorVictoria Dye <vdye@github.com>2022-03-01 20:24:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-03-01 20:36:01 (GMT)
commit14bf38cfcff0b68468444e85bc09c7d5007be34b (patch)
tree9ebc7d74c68477c6a47bb2a35366c55bcf4bb4d2 /t/perf
parentcc89331ddc92cd89012eaf7937d167b3e0beaecc (diff)
downloadgit-14bf38cfcff0b68468444e85bc09c7d5007be34b.zip
git-14bf38cfcff0b68468444e85bc09c7d5007be34b.tar.gz
git-14bf38cfcff0b68468444e85bc09c7d5007be34b.tar.bz2
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')
-rwxr-xr-xt/perf/p2000-sparse-operations.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/perf/p2000-sparse-operations.sh b/t/perf/p2000-sparse-operations.sh
index 2a7106b..382716c 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