From a87ea6f4a83bcb6e38580a179b92d8c30355b770 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sat, 26 Jun 2010 13:29:12 -0400 Subject: [PATCH] Fixed incorrect argument on open for three-arg. --- filter-git-log.plx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter-git-log.plx b/filter-git-log.plx index 406d309..a2c2b7d 100755 --- a/filter-git-log.plx +++ b/filter-git-log.plx @@ -32,7 +32,7 @@ my($GIT_CMD) = @ARGV; $GIT_CMD .= " --date=rfc" unless $GIT_CMD =~ /--date/; -open(GIT_OUTPUT, "-|", $GIT_CMD) or die "unable to run \"$GIT_CMD\": $!"; +open(GIT_OUTPUT, "|-", $GIT_CMD) or die "unable to run \"$GIT_CMD\": $!"; my $currentCommit = ""; my $skipThisOne = 1;