Code

gitweb: parse parent..current syntax from PATH_INFO
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 21 Oct 2008 19:34:53 +0000 (21:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Oct 2008 19:25:14 +0000 (12:25 -0700)
commitb0be3838bb75e8b3be04310cc379142c3ef65703
tree5c1b4a1e9ca27931f914fc6d1570b1ab0e1313ca
parent3550ea71f566b6958ffedf1573806d5fe891f344
gitweb: parse parent..current syntax from PATH_INFO

This patch makes it possible to use an URL such as
project/action/somebranch..otherbranch:/filename to get a diff between
different version of a file. Paths like
project/action/somebranch:/somefile..otherbranch:/otherfile are parsed
as well.

All '*diff' actions and in general actions that use $hash_parent[_base]
and $file_parent (e.g. 'shortlog') can now get all of their parameters
from PATH_INFO

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