author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 10 Dec 2006 12:25:46 +0000 (13:25 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 12 Dec 2006 08:55:22 +0000 (00:55 -0800) | ||
commit | e33fba4c5a33bce748d2c8a1c7a38b78a1fd2cda | |
tree | 79060139d140ad3f60d3e3c06325becd8cdb8d60 | tree | snapshot |
parent | 9aa1757382002655cb72bad6a163ff430e08c962 | commit | diff |
gitweb: Show target of symbolic link in "tree" view
In "tree" view (git_print_tree_entry subroutine), for entries which are
symbolic links, add " -> link_target" after file name (a la "ls -l").
Link target is _not_ hyperlinked.
While at it, correct whitespaces (tabs are for aling, spaces are for indent)
in modified git_print_tree_entry subroutine.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In "tree" view (git_print_tree_entry subroutine), for entries which are
symbolic links, add " -> link_target" after file name (a la "ls -l").
Link target is _not_ hyperlinked.
While at it, correct whitespaces (tabs are for aling, spaces are for indent)
in modified git_print_tree_entry subroutine.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |