Code

gitweb: Divide page path into directories -- path's "breadcrumbs"
authorJakub Narebski <jnareb@gmail.com>
Mon, 4 Sep 2006 16:17:58 +0000 (18:17 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 4 Sep 2006 22:46:44 +0000 (15:46 -0700)
commit762c7205f6700070fa3c18c8544a769461b2e567
treebd2f78b356153c9039360adbf3a14d517cf17484
parent72dbafa1e6696b6acec59c22aa7e3d956cf9992f
gitweb: Divide page path into directories -- path's "breadcrumbs"

Divide page path into directories, so that each part of path links to
the "tree" view of the $hash_base (or HEAD, if $hash_base is not set)
version of the directory.

If the entity is blob, final part (basename) links to $hash_base or
HEAD revision of the "raw" blob ("blob_plain" view).  If the entity is
tree, link to the "tree" view.

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