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;