]> Pileus Git - ~andy/git/commitdiff
git-svn: do not let Git.pm warn if we prematurely close pipes
authorEric Wong <normalperson@yhbt.net>
Fri, 12 Jan 2007 11:07:31 +0000 (03:07 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Feb 2007 08:57:09 +0000 (00:57 -0800)
This mainly quiets down warnings when running git svn log.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index 3e4f5b73ca77a6f45a41f6175443881758a502c5..dd639a1b9aca828144c14a804df9a55b90f2a373 100755 (executable)
@@ -3495,7 +3495,7 @@ sub cmd_show_log {
                process_commit($_, $r_min, $r_max) foreach reverse @k;
        }
 out:
-       eval { command_close_pipe($log) };
+       close $log;
        print '-' x72,"\n" unless $incremental || $oneline;
 }