git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* blameview and file line number
@ 2007-01-30  7:25 Aneesh Kumar
  2007-01-30  8:33 ` Junio C Hamano
  2007-01-30 14:06 ` Jeff King
  0 siblings, 2 replies; 7+ messages in thread
From: Aneesh Kumar @ 2007-01-30  7:25 UTC (permalink / raw)
  To: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]

Is it a typo or intentional ? I found the blameview output confusing.

-aneesh

[-- Attachment #2: blameview.diff --]
[-- Type: text/x-patch, Size: 437 bytes --]

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));
 	}
 }
 

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-30 15:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30  7:25 blameview and file line number Aneesh Kumar
2007-01-30  8:33 ` Junio C Hamano
2007-01-30  9:12   ` Aneesh Kumar
2007-01-30 10:39     ` Junio C Hamano
2007-01-30 15:48       ` Shawn O. Pearce
2007-01-30 14:06 ` Jeff King
2007-01-30 14:08   ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).