aboutsummaryrefslogtreecommitdiff
path: root/t/t9500-gitweb-standalone-no-errors.sh
diff options
context:
space:
mode:
authorLuke Lu <git@vicaya.com>2007-10-16 20:45:25 -0700
committerShawn O. Pearce <spearce@spearce.org>2007-10-17 01:23:33 -0400
commitca5e9495607c2abb4b665b75d3d96a457fa4c5dd (patch)
treed46a30f3674c27a19aa87bd2be731f75bf972996 /t/t9500-gitweb-standalone-no-errors.sh
parent317efa63fc457d1a726902ddf97298c201df627c (diff)
downloadgit-ca5e9495607c2abb4b665b75d3d96a457fa4c5dd.tar.gz
git-ca5e9495607c2abb4b665b75d3d96a457fa4c5dd.tar.xz
gitweb: speed up project listing on large work trees by limiting find depth
Signed-off-by: Luke Lu <git@vicaya.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/t9500-gitweb-standalone-no-errors.sh')
-rwxr-xr-xt/t9500-gitweb-standalone-no-errors.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh
index 642b836d6..f7bad5bb2 100755
--- a/t/t9500-gitweb-standalone-no-errors.sh
+++ b/t/t9500-gitweb-standalone-no-errors.sh
@@ -18,6 +18,7 @@ gitweb_init () {
our \$version = "current";
our \$GIT = "git";
our \$projectroot = "$(pwd)";
+our \$project_maxdepth = 8;
our \$home_link_str = "projects";
our \$site_name = "[localhost]";
our \$site_header = "";