[PATCH] blameview: Fix a typo.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We should use lno to print the line number

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxx>
---
 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]