Code

Fix showing of path in tree view
authorPetr Baudis <pasky@ucw.cz>
Thu, 21 Sep 2006 00:05:50 +0000 (02:05 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 21 Sep 2006 08:16:45 +0000 (01:16 -0700)
commit16fdb4882e3f7b5b60907a2729df494aaa1410a3
tree847146c4c87e9513c442a00d51324d94bc2f9042
parent053d62bb5bd523f492c6ef2e202da837b7f56905
Fix showing of path in tree view

This patch fixes two things - links to all path elements except the last
one were broken since gitweb does not like the trailing slash in them, and
the root tree was not reachable from the subdirectory view.

To compensate for the one more slash in the front, the trailing slash is
not there anymore. ;-) I don't care if it stays there though.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl