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

blameview and file line number

From
Aneesh Kumar <aneesh.kumar@gmail.com>
Date
Jan 30, 2007, 07:25 UTC
Message-ID
<cc723f590701292325k1c85d9edgb9e72ae380fcaad7@mail.gmail.com>
Is it a typo or intentional ? I found the blameview output confusing.
-aneesh
diff --git a/contrib/blameview/blameview.perl b/contrib/blameview/blameview.perl
index a55f799..e8bcb1b 100755
--- a/contrib/blameview/blameview.perl
+++ b/contrib/blameview/blameview.perl
@@ -62,7 +62,7 @@ sub flush_blame_line {
 	for(my $i = 0; $i < $cnt; $i++) {
 		@{$fileview->{data}->[$lno+$i-1]}[0,1,2] =
 		    (substr($commit, 0, 8), $info,
-		     $filename . ':' . ($s_lno+$i));
+		     $filename . ':' . ($lno+$i));
 	}
 }
 
Next: Junio C Hamano
Message 1 of 7 in “blameview and file line number”
  1. Aneesh KumarJan 30, 2007
  2. Junio C HamanoJan 30, 2007
  3. Aneesh KumarJan 30, 2007
  4. Junio C HamanoJan 30, 2007
  5. Shawn O. PearceJan 30, 2007
  6. Jeff KingJan 30, 2007
  7. Jeff KingJan 30, 2007

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.