Skip to content

Commit

Permalink
Merge branch 'jn/gitweb-our-squelch'
Browse files Browse the repository at this point in the history
* jn/gitweb-our-squelch:
  gitweb: Silence 'Variable VAR may be unavailable' warnings
  • Loading branch information
Junio C Hamano committed May 21, 2010
2 parents 3b65270 + ee1d8ee commit 71f1d72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71f1d72

Please sign in to comment.