1. 02 5月, 2010 1 次提交
    • J
      gitweb: Silence 'Variable VAR may be unavailable' warnings · ee1d8ee0
      Jakub Narebski 提交于
      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: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      ee1d8ee0
  2. 17 10月, 2007 11 次提交
  3. 16 10月, 2007 28 次提交