author | Jakub Narebski <jnareb@gmail.com> | |
Tue, 22 Aug 2006 14:59:20 +0000 (16:59 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 22 Aug 2006 23:06:31 +0000 (16:06 -0700) | ||
commit | 77a153fd92ae6e4e40e0ccb15c9f808d63e198a0 | |
tree | f22c3e806d5ef66013fd598d23c0cb8a07350ef7 | tree | snapshot |
parent | 134a6941ec7f44b9deb2cbb51429ff6a47e0d08b | commit | diff |
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>
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 | diff | blob | history |