summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-01-12 03:07:31 -0800
committerEric Wong <normalperson@yhbt.net>2007-02-23 00:57:09 -0800
commitc843c464b83237fba65dc46a10133fda9f475cc5 (patch)
treecac6a0a310b5849c45e084cfffe91ef01e966e5b
parente7f023c81a03ccdd25ce4b4c7ed77f367c8f7edd (diff)
downloadgit-c843c464b83237fba65dc46a10133fda9f475cc5.tar.gz
git-svn: do not let Git.pm warn if we prematurely close pipes
This mainly quiets down warnings when running git svn log. Signed-off-by: Eric Wong <normalperson@yhbt.net>
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 3e4f5b73ca..dd639a1b9a 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -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;
}