Code

gitweb: Improve git_print_page_path
authorJakub Narebski <jnareb@gmail.com>
Sat, 21 Oct 2006 15:53:55 +0000 (17:53 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 23 Oct 2006 05:54:08 +0000 (22:54 -0700)
commit4df118ed6041dc0f126d55231a6621be05882b5f
tree729f4d6f2d5e7e61266a0dcccbc335ebf99bdae3
parent05eb811aa1546b696c6c4d55593cfd4fbef0dce5
gitweb: Improve git_print_page_path

Add link to "tree root" (root directory) also for not defined name,
for example for "tree" action without defined "file_name" which means
"tree root".

Add " / " at the end of path when $type eq "tree".

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl