From: Junio C Hamano Date: Mon, 12 Apr 2010 21:30:59 +0000 (-0700) Subject: Ignore sigpipe in external diff driver X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc72e07f3e16778aab1e2f99c16aa10dc6f5ff90;p=thirdparty%2Fgit.git Ignore sigpipe in external diff driver Otherwise the caller will notice (yuck) when the user quits the pager without reading through to the end --- diff --git a/compare-cooking.perl b/compare-cooking.perl index 2ec6c95915..018268a92a 100755 --- a/compare-cooking.perl +++ b/compare-cooking.perl @@ -1,5 +1,7 @@ #!/usr/bin/perl -w +$SIG{'PIPE'} = 'IGNORE'; + my ($old, $new); if (@ARGV == 7) {