summaryrefslogtreecommitdiff
path: root/t/perf/p2000-sparse-operations.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-05-15 13:59:06 -0700
committerJunio C Hamano <gitster@pobox.com>2023-05-15 13:59:06 -0700
commit5ca11547bb10fec0a5cf292de2e2afafcf45ad18 (patch)
tree1dd7bbebbef0641ee6bd3cdfbd9698fc2bcbba04 /t/perf/p2000-sparse-operations.sh
parent80754c5cc05955dd0159fa40d7b82b2802a4deba (diff)
parent8c30be9176784b5e4fbfc2ca6e8275c13cbf6e4a (diff)
downloadgit-5ca11547bb10fec0a5cf292de2e2afafcf45ad18.tar.gz
Merge branch 'sl/diff-files-sparse'
Teach "diff-files" not to expand sparse-index unless needed. * sl/diff-files-sparse: diff-files: integrate with sparse index t1092: add tests for `git diff-files`
Diffstat (limited to 't/perf/p2000-sparse-operations.sh')
-rwxr-xr-xt/perf/p2000-sparse-operations.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/perf/p2000-sparse-operations.sh b/t/perf/p2000-sparse-operations.sh
index 60d1de0662..901cc493ef 100755
--- a/t/perf/p2000-sparse-operations.sh
+++ b/t/perf/p2000-sparse-operations.sh
@@ -129,5 +129,7 @@ test_perf_on_all git grep --cached bogus -- "f2/f1/f1/*"
test_perf_on_all git write-tree
test_perf_on_all git describe --dirty
test_perf_on_all 'echo >>new && git describe --dirty'
+test_perf_on_all git diff-files
+test_perf_on_all git diff-files -- $SPARSE_CONE/a
test_done