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-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/e4a98a31250d3628cdc101d23287f65685ce2d92059c61a1130541e422d8cee8 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.perl b/gitweb.perl index 421727d..2b79c3d 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -856,7 +856,8 @@ sub format_ref_marker { $name = $ref; } - $markers .= " " . esc_html($name) . ""; + $markers .= " " . + esc_html($name) . ""; } }