From cbaced7b7a25d44be00146ea5626625c73509755 Mon Sep 17 00:00:00 2001 From: Victoria Dye Date: Mon, 13 Sep 2021 18:48:10 -0400 Subject: [PATCH] checkout-index: add performance test for `checkout-index --all` `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 --- t/perf/p2000-sparse-operations.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/perf/p2000-sparse-operations.sh b/t/perf/p2000-sparse-operations.sh index af0be1e52b2eea..85a89f7a04a888 100755 --- a/t/perf/p2000-sparse-operations.sh +++ b/t/perf/p2000-sparse-operations.sh @@ -113,6 +113,7 @@ 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 --staged