gitweb: Route rest of action subroutines through %actions
commit77a153fd92ae6e4e40e0ccb15c9f808d63e198a0
authorJakub Narebski <jnareb@gmail.com>
Tue, 22 Aug 2006 14:59:20 +0000 (22 16:59 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 22 Aug 2006 23:06:31 +0000 (22 16:06 -0700)
treef22c3e806d5ef66013fd598d23c0cb8a07350ef7
parent134a6941ec7f44b9deb2cbb51429ff6a47e0d08b
gitweb: Route rest of action subroutines through %actions

Route rest of action subroutines, namely git_project_list and git_opml
(both of which doesn't need $project) through %actions hash.

This has disadvantage that all parameters are read and validated;
earlier git_opml was called as soon as $action was parsed and
validated, git_project_list was called as soon as $project was parsed
and validated.  This has advantage that all action dispatch is grouped
in one place.

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