reset: expand test coverage for sparse checkouts
Add new tests for `--merge` and `--keep` modes, as well as mixed reset with pathspecs. New performance test cases exercise various execution paths for `reset`. Co-authored-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Victoria Dye <vdye@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
86609db9da
commit
291d77eb3e
@ -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
|
||||
|
Reference in New Issue
Block a user