summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes-1.5.3.txt
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2010-04-30 18:30:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-01 12:40:12 -0700
commitee1d8ee0f0f3faaa72f5c4886e61befaf7915718 (patch)
tree44ef31a956565b2756bb38cba71b90bac4768f6f /Documentation/RelNotes-1.5.3.txt
parentgitweb: speed up project listing on large work trees by limiting find depth (diff)
downloadtgif-ee1d8ee0f0f3faaa72f5c4886e61befaf7915718.tar.xz
gitweb: Silence 'Variable VAR may be unavailable' warnings
When $projects_list points to a directory, and git_get_projects_list scans this directory for repositories, there can be generated the following warnings (for persistent services like mod_perl or plackup): Variable "$project_maxdepth" may be unavailable at gitweb.cgi line 2443. Variable "$projectroot" may be unavailable at gitweb.cgi line 2451. Those are false positives; silence those warnings by explicitely declaring $project_maxdepth and $projectroot with 'our', as global variables, in anonymous subrotine passed to File::Find::find. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.5.3.txt')
0 files changed, 0 insertions, 0 deletions