From: Jakub Narebski Date: Fri, 15 Dec 2006 22:49:12 +0000 (+0100) Subject: gitweb: Add title attribute to ref marker with full ref name X-Git-Tag: v1.5.0-rc0~82^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5fce278ef313d3b43a5df5bd0494ad23dc313d22;p=git.git gitweb: Add title attribute to ref marker with full ref name Add title attribute, which will be shown as popup on mouseover in graphical web browsers, with full name of ref, including part (type) removed from the name of ref itself. This is useful to see that this strange ref is StGIT ref, or it is remote branch, or it is lightweigh tag (with branch-like name). Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index ebf35a1e2..79e518a91 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -855,7 +855,8 @@ sub format_ref_marker { $name = $ref; } - $markers .= " " . esc_html($name) . ""; + $markers .= " " . + esc_html($name) . ""; } }