Code

blameview: Fix the browse behavior in blameview
authorAneesh Kumar <aneesh.kumar@gmail.com>
Mon, 26 Feb 2007 08:31:57 +0000 (14:01 +0530)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Feb 2007 05:41:48 +0000 (21:41 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/blameview/blameview.perl

index a9a509febbe7ec311bf363e734a380d8cfca73ff..1dec00137b2dd8a888a962edd62f01aad89e4186 100755 (executable)
@@ -41,7 +41,7 @@ $fileview->set_rules_hint(1);
 $fileview->signal_connect (row_activated => sub {
                my ($sl, $path, $column) = @_;
                my $row_ref = $sl->get_row_data_from_path ($path);
-               system("blameview @$row_ref[0] $fn &");
+               system("blameview @$row_ref[0]~1 $fn &");
                });
 
 my $commitwindow = Gtk2::ScrolledWindow->new();