diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:20 -0700 |
commit | 71f1d729b39ce5c92df6d623151f88bbb5d4c774 (patch) | |
tree | 27ca50a63bbb0147a63ff11b206eb022094fcd88 | |
parent | Merge branch 'jn/request-pull' (diff) | |
parent | gitweb: Silence 'Variable VAR may be unavailable' warnings (diff) | |
download | tgif-71f1d729b39ce5c92df6d623151f88bbb5d4c774.tar.xz |
Merge branch 'jn/gitweb-our-squelch'
* jn/gitweb-our-squelch:
gitweb: Silence 'Variable VAR may be unavailable' warnings
-rwxr-xr-x | gitweb/gitweb.perl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 77e5f795a1..4e64fc86bd 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2420,6 +2420,9 @@ sub git_get_projects_list { follow_skip => 2, # ignore duplicates dangling_symlinks => 0, # ignore dangling symlinks, silently wanted => sub { + # global variables + our $project_maxdepth; + our $projectroot; # skip project-list toplevel, if we get it. return if (m!^[/.]$!); # only directories can be git repositories |