]> Lady’s Gitweb - Gitweb/commit
gitweb: parse project/action/hash_base:filename PATH_INFO
authorGiuseppe Bilotta <redacted>
Tue, 21 Oct 2008 19:34:50 +0000 (21:34 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
commitf97a96fc01e18a2336ea3ae2734e91a55c577633acc49d3c818217dfadbbd09f
treee0afc1bebd579f41a9f54f2a38e92760afe90f9c71dc5dcebe3bfa8b467953f9
parent409813c59f3f735c71c9ad28f9e8a77728f344646b953f0ac6403fe36f866c7f
gitweb: parse project/action/hash_base:filename PATH_INFO

This patch enables gitweb to parse URLs with more information embedded
in PATH_INFO, reducing the need for CGI parameters. The typical gitweb
path is now $project/$action/$hash_base:$file_name or
$project/$action/$hash

This is mostly backwards compatible with the old-style gitweb paths,
$project/$branch[:$filename], except when it was used to access a branch
whose name matches a gitweb action.

Signed-off-by: Giuseppe Bilotta <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.235645 seconds and 4 git commands to generate.