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>
This commit is contained in:
Luke Lu
2007-10-16 20:45:25 -07:00
committed by Shawn O. Pearce
parent 317efa63fc
commit ca5e949560
3 changed files with 13 additions and 0 deletions

View File

@ -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 = "";