From 8287bdbb55ac6db261df9455b5c753c192da4d60 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/perf/p2000-sparse-operations.sh b/t/perf/p2000-sparse-operations.sh index b483b51a23df1c..20e931efd4376a 100755 --- a/t/perf/p2000-sparse-operations.sh +++ b/t/perf/p2000-sparse-operations.sh @@ -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