mirror of
https://github.com/git/git
synced 2024-10-06 00:29:28 +00:00
Merge branch 'jn/gitweb-our-squelch'
* jn/gitweb-our-squelch: gitweb: Silence 'Variable VAR may be unavailable' warnings
This commit is contained in:
commit
71f1d729b3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue