]> Lady’s Gitweb - Gitweb/commit
gitweb: Route rest of action subroutines through %actions
authorJakub Narebski <redacted>
Tue, 22 Aug 2006 14:59:20 +0000 (16:59 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commit2350c6c813a784381a37dd3de049b899174ee1641c793b164ad7a531ad6a78a4
treead44bff0b2334464087ef46919059af62455d7117521147e4b0447579f8b44f7
parent97d8c262e485b03947bcf3c9469d933410d3acd664c56b55bc30e421361e4735
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.22274 seconds and 4 git commands to generate.