gitweb: use_pathinfo filenames start with /
commit3550ea71f566b6958ffedf1573806d5fe891f344
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 21 Oct 2008 19:34:52 +0000 (21 21:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Oct 2008 19:25:14 +0000 (25 12:25 -0700)
tree9f84b0a01d14612c6db3e81b17fcc56052fcce5f
parentb02bd7a6323a85f9feedd9c8cd7d7401021dfb11
gitweb: use_pathinfo filenames start with /

Generate PATH_INFO URLs in the form project/action/hash_base:/filename
rather than project/action/hash_base:filename (the latter form is still
accepted in input).

This minimal change allows relative navigation to work properly when
viewing HTML files in raw ('blob_plain') mode.

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