diff options
author | Victoria Dye <vdye@github.com> | 2021-11-29 15:52:39 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-29 20:51:26 (GMT) |
commit | 291d77eb3e28aee42821d500bf61211f09b4297a (patch) | |
tree | 261e622c33058669372cfd04c4fd0b8d7d8cdb97 /t/perf/p2000-sparse-operations.sh | |
parent | 86609db9dae77a385ea8c156ac4ca55f8454a3f7 (diff) | |
download | git-291d77eb3e28aee42821d500bf61211f09b4297a.zip git-291d77eb3e28aee42821d500bf61211f09b4297a.tar.gz git-291d77eb3e28aee42821d500bf61211f09b4297a.tar.bz2 |
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>
Diffstat (limited to 't/perf/p2000-sparse-operations.sh')
-rwxr-xr-x | t/perf/p2000-sparse-operations.sh | 3 |
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 |