gitweb: parse project/action/hash_base:filename PATH_INFO
authorGiuseppe Bilotta <redacted>
Tue, 21 Oct 2008 19:34:50 +0000 (21:34 +0200)
committerJunio C Hamano <redacted>
Sat, 25 Oct 2008 19:25:14 +0000 (12:25 -0700)
commitd8c2882254f0f30e4f44de593c3b3db6a8fccef9
tree310b5aab4894a792aa945de896d10a7af795896b
parent208f689610e524ce9858f9d28635f7fea51b8d96
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/gitweb.perl
git clone https://git.99rst.org/PROJECT