summaryrefslogtreecommitdiff
path: root/t/perf
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-10 22:35:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-12-10 22:35:12 (GMT)
commitf0850875fd44a58cd1eae349244327b2eff29fa7 (patch)
tree184c87add4c1e39e25a289f6aed8199215e52fa6 /t/perf
parent4ee5cacc16ee7779017f207e496eeb75b0fa5721 (diff)
parentf2a454e0a5e26c0f7b840970f69d195c37b16565 (diff)
downloadgit-f0850875fd44a58cd1eae349244327b2eff29fa7.zip
git-f0850875fd44a58cd1eae349244327b2eff29fa7.tar.gz
git-f0850875fd44a58cd1eae349244327b2eff29fa7.tar.bz2
Merge branch 'vd/sparse-reset'
Various operating modes of "git reset" have been made to work better with the sparse index. * vd/sparse-reset: unpack-trees: improve performance of next_cache_entry reset: make --mixed sparse-aware reset: make sparse-aware (except --mixed) reset: integrate with sparse index reset: expand test coverage for sparse checkouts sparse-index: update command for expand/collapse test reset: preserve skip-worktree bit in mixed reset reset: rename is_missing to !is_in_reset_tree
Diffstat (limited to 't/perf')
-rwxr-xr-xt/perf/p2000-sparse-operations.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/perf/p2000-sparse-operations.sh b/t/perf/p2000-sparse-operations.sh
index 5976262..bfd3321 100755
--- a/t/perf/p2000-sparse-operations.sh
+++ b/t/perf/p2000-sparse-operations.sh
@@ -110,5 +110,8 @@ test_perf_on_all git add -A
test_perf_on_all git add .
test_perf_on_all git commit -a -m A
test_perf_on_all git checkout -f -
+test_perf_on_all git reset
+test_perf_on_all git reset --hard
+test_perf_on_all git reset -- does-not-exist
test_done