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

[PATCH] blameview: Fix a typo.

From
Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Date
Jan 30, 2007, 07:56 UTC
Message-ID
<45befa4d.6d3e3b9c.5d1f.569e@mx.google.com>
We should use lno to print the line number
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
---
 contrib/blameview/blameview.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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));
 	}
 }
 
-- 
1.5.0.rc2.75.gdbaa0-dirty
Message 1 of 1 in “blameview: Fix a typo.”
  1. blameview: Fix a typo.Aneesh Kumar K.V, Jan 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.