Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jn/gitweb-our-squelch'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 21 May 2010 11:02:20 +0000
(
04:02
-0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 21 May 2010 11:02:20 +0000
(
04:02
-0700)
* jn/gitweb-our-squelch:
gitweb: Silence 'Variable VAR may be unavailable' warnings
gitweb/gitweb.perl
patch
|
blob
|
history
raw
(from parent 1:
3b65270
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 77e5f795a1d0ff847b19b03336cb090155bf3113..4e64fc86bd29b6bf3762be6034be5662cccf18c1 100755
(executable)
--- 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