summaryrefslogtreecommitdiff
path: root/t/perf/p7300-clean.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-02-05 14:54:17 -0800
committerJunio C Hamano <gitster@pobox.com>2016-02-05 14:54:17 -0800
commite2d7739051cadf25094c3fc7593b73b30c680696 (patch)
treed5382b621dbf318f2a3ec7f85c531ad67fe53511 /t/perf/p7300-clean.sh
parent07be1da216debe1f76cd4d03ac5effcb9e40e6c6 (diff)
parenta2d5156c2b0e6dbffc216b4a673156487a2f8b65 (diff)
downloadgit-e2d7739051cadf25094c3fc7593b73b30c680696.tar.gz
Merge branch 'jk/ref-cache-non-repository-optim' into maint
The underlying machinery used by "ls-files -o" and other commands have been taught not to create empty submodule ref cache for a directory that is not a submodule. This removes a ton of wasted CPU cycles. * jk/ref-cache-non-repository-optim: resolve_gitlink_ref: ignore non-repository paths clean: make is_git_repository a public function
Diffstat (limited to 't/perf/p7300-clean.sh')
-rwxr-xr-xt/perf/p7300-clean.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/perf/p7300-clean.sh b/t/perf/p7300-clean.sh
index ec94cdd657..7c1888a27e 100755
--- a/t/perf/p7300-clean.sh
+++ b/t/perf/p7300-clean.sh
@@ -28,4 +28,8 @@ test_perf 'clean many untracked sub dirs, ignore nested git' '
git clean -n -q -f -f -d 100000_sub_dirs/
'
+test_perf 'ls-files -o' '
+ git ls-files -o
+'
+
test_done