git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 6/6] gitweb: use blame --porcelain

From
Junio C Hamano <junkio@cox.net>
Date
Oct 5, 2006, 21:48 UTC
Message-ID
<7v4puibfj6.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vwt7ebhe9.fsf@assigned-by-dhcp.cox.net>
Found a stupid typo...
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index feb768f..8b97357 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2589,7 +2589,7 @@ HTML
 				  file_name => $meta->{'filename'},
 				  hash_base => $full_rev);
 		print "<td class=\"linenr\">";
-		print $cgi->a({ -href => "$blamed#l$lineno",
+		print $cgi->a({ -href => "$blamed#l$orig_lineno",
 				-id => "l$lineno",
 				-class => "linenr" },
 			      esc_html($lineno));
Previous: Junio C Hamano
Message 3 of 3 in “gitweb: use blame --porcelain”
  1. 6/6 gitweb: use blame --porcelainJunio C Hamano, Oct 5, 2006
  2. Junio C HamanoOct 5, 2006
  3. Junio C HamanoOct 5, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.