author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Tue, 21 Oct 2008 19:34:54 +0000 (21:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 25 Oct 2008 19:25:14 +0000 (12:25 -0700) | ||
commit | 8db49a7f6f272ecb72c75a172e9753f3981488ce | |
tree | 8c960b4d54b22470502c0653b3c56361f6ca5d77 | tree | snapshot |
parent | b0be3838bb75e8b3be04310cc379142c3ef65703 | commit | diff |
gitweb: generate parent..current URLs
If use_pathinfo is enabled, href now creates links that contain paths in
the form $project/$action/oldhash:/oldname..newhash:/newname for actions
that use hash_parent etc.
If any of the filename contains two consecutive dots, it's kept as a CGI
parameter since the resulting path would otherwise be ambiguous.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If use_pathinfo is enabled, href now creates links that contain paths in
the form $project/$action/oldhash:/oldname..newhash:/newname for actions
that use hash_parent etc.
If any of the filename contains two consecutive dots, it's kept as a CGI
parameter since the resulting path would otherwise be ambiguous.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |