Merge branch 'jn/gitweb-our-squelch'
* jn/gitweb-our-squelch: gitweb: Silence 'Variable VAR may be unavailable' warnings
This commit is contained in:
@ -2420,6 +2420,9 @@ sub git_get_projects_list {
|
|||||||
follow_skip => 2, # ignore duplicates
|
follow_skip => 2, # ignore duplicates
|
||||||
dangling_symlinks => 0, # ignore dangling symlinks, silently
|
dangling_symlinks => 0, # ignore dangling symlinks, silently
|
||||||
wanted => sub {
|
wanted => sub {
|
||||||
|
# global variables
|
||||||
|
our $project_maxdepth;
|
||||||
|
our $projectroot;
|
||||||
# skip project-list toplevel, if we get it.
|
# skip project-list toplevel, if we get it.
|
||||||
return if (m!^[/.]$!);
|
return if (m!^[/.]$!);
|
||||||
# only directories can be git repositories
|
# only directories can be git repositories
|
||||||
|
Reference in New Issue
Block a user