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

[PATCH] gitweb: blame porcelain: lineno and orig lineno swapped

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Oct 11, 2006, 07:30 UTC
Message-ID
<20061011073005.1178.qmail@web31813.mail.mud.yahoo.com>
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
---
 gitweb/gitweb.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 77063f0..19f434d 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2594,7 +2594,7 @@ HTML
 	while (1) {
 		$_ = <$fd>;
 		last unless defined $_;
-		my ($full_rev, $lineno, $orig_lineno, $group_size) =
+		my ($full_rev, $orig_lineno, $lineno, $group_size) =
 		    /^([0-9a-f]{40}) (\d+) (\d+)(?: (\d+))?$/;
 		if (!exists $metainfo{$full_rev}) {
 			$metainfo{$full_rev} = {};
-- 
1.4.3.rc2.gacda
Next: Junio C Hamano
Message 1 of 2 in “gitweb: blame porcelain: lineno and orig lineno swapped”
  1. gitweb: blame porcelain: lineno and orig lineno swappedLuben Tuikov, Oct 11, 2006
  2. Junio C HamanoOct 11, 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.