Ignore sigpipe in external diff driver
Otherwise the caller will notice (yuck) when the user quits the pager without reading through to the end
Junio C Hamano committed
Apr 12, 2010 at 14:30 UTC
bc72e07f3e16778aab1e2f99c16aa10dc6f5ff90
1 file changed
+2
compare-cooking.perl
+2
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) {