gitweb: Use File::Find::find in git_get_projects_list
authorJakub Narebski <jnareb@gmail.com>
Thu, 14 Sep 2006 20:18:59 +0000 (22:18 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 15 Sep 2006 05:38:19 +0000 (22:38 -0700)
commitc0011ff8c83f200139267492589575970fb72afc
tree1bb48ae3cbe45b326dea77cc41237bbdfff3e7c7
parent5b6df8e45f31c7eb26c30536448cffe1b715e1ce
gitweb: Use File::Find::find in git_get_projects_list

Earlier code to get list of projects when $projects_list is a
directory (e.g. when it is equal to $projectroot) had a hardcoded flat
(one level) list of directories.  Allow for projects to be in
subdirectories also for $projects_list being a directory by using
File::Find.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl