diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/blameview/blameview.perl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/blameview/blameview.perl b/contrib/blameview/blameview.perl index a55f799f00..5e9a67c123 100755 --- a/contrib/blameview/blameview.perl +++ b/contrib/blameview/blameview.perl @@ -28,7 +28,8 @@ $fileview->get_column(0)->set_spacing(0); $fileview->set_size_request(1024, 768); $fileview->set_rules_hint(1); -open(my $fh, '<', $fn) +my $fh; +open($fh, '-|', "git cat-file blob HEAD:$fn") or die "unable to open $fn: $!"; while(<$fh>) { chomp; |