summaryrefslogtreecommitdiffstats
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-12-10 13:25:48 +0100
committerJunio C Hamano <junkio@cox.net>2006-12-12 09:55:25 +0100
commit3bf9d57051845cee996f73b5402a07cbeda84c88 (patch)
treef62ce17b06b6396a33305aae204bf0078648e450 /sha1_file.c
parentgitweb: Add generic git_object subroutine to display object of any type (diff)
downloadgit-3bf9d57051845cee996f73b5402a07cbeda84c88.tar.xz
git-3bf9d57051845cee996f73b5402a07cbeda84c88.zip
gitweb: Hyperlink target of symbolic link in "tree" view (if possible)
Make symbolic link target in "tree" view into hyperlink to generic "object" view (as we don't know if the link target is file (blob) or directory (tree), and if it exist at all). Target of link is made into hyperlink when: * hash_base is provided (otherwise we cannot find hash of link target) * link is relative * in no place link goes out of root tree (top dir) Full path of symlink target from the root dir is provided in the title attribute of hyperlink. Currently symbolic link name uses ordinary file style (hidden hyperlink), while the hyperlink to symlink target uses default hyperlink style, so it is underlined while link target which is not made into hyperlink is not underlined. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions