Re: [PATCH] gitweb: Better symbolic link support in "tree" view
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 5, 2006, 01:08 UTC
- Message-ID
- <7vr6vfkv3i.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1165256780505-git-send-email-jnareb@gmail.com>
Jakub Narebsmi <jnareb@gmail.com> writes:
> In "tree" view (git_print_tree_entry subroutine), add for symbolic > links after file name " -> link_target", a la "ls -l". Use > git_get_link_target_html to escape target name and make it into > hyperlink if possible.
I think " -> link_target" is fine, but I do not know if it is useful (while I do not think it is wrong) to make the value that would have been returned from readlink() into an href, even when it points at something inside the same revision.