diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-06-21 17:06:39 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-21 14:01:15 -0700 |
commit | 49f582a0401f3b9b9a80ff6fe0dd601520579b7d (patch) | |
tree | b405f292296f1075ad331af5c674374c19146762 /compat | |
parent | Move $gitbin earlier in gitweb.cgi (diff) | |
download | tgif-49f582a0401f3b9b9a80ff6fe0dd601520579b7d.tar.xz |
gitweb: Make use of $PATH_INFO for project parameter
Allow to have project name in the path part of URL, just after the name of
script. For example instead of gitweb.cgi?p=git.git you can write
gitweb.cgi/git.git or gitweb.cgi/git.git/
Not used in URLs inside gitweb; it means that the above alternate syntax
must be generated by hand, at least for now.
Side effect: project name parameter is now stripped of leading and
trailing slash before validation.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions