Skip to content

Commit

Permalink
checkout-index: add performance test for checkout-index --all
Browse files Browse the repository at this point in the history
`git checkout-index --all` is a subcommand of `git stash`, so it is helpful
to verify the performance of that particular usage.

Signed-off-by: Victoria Dye <vdye@github.com>
  • Loading branch information
vdye authored and dscho committed Jan 20, 2022
1 parent 56d6e2b commit 8287bdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/perf/p2000-sparse-operations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ 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_perf_on_all git checkout-index -f --all
test_perf_on_all git update-index --add --remove
test_perf_on_all git diff
test_perf_on_all git diff --cached
test_perf_on_all git blame $SPARSE_CONE/a
Expand Down

0 comments on commit 8287bdb

Please sign in to comment.