From a83c5b8172a8b6abcd6cbccf258acc856198da61 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 7 Sep 2010 14:43:00 +0200 Subject: [PATCH] gitweb: Allow line number toggling with Javascript Signed-off-by: Johannes Schindelin --- gitweb/gitweb.perl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index a8b5fad266..ec97589687 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4434,6 +4434,25 @@ sub git_print_page_path { print $cgi->a({-href => href(action=>"blob_plain", file_name=>$file_name, hash_base=>$hb), -title => $name}, esc_path($basename)); + print '     + + +'; } elsif (defined $type && $type eq 'tree') { print $cgi->a({-href => href(action=>"tree", file_name=>$file_name, hash_base=>$hb), -- 2.11.4.GIT