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
@@ -1,5 +1,7 @@
1
#!/usr/bin/perl -w
2
3
+$SIG{'PIPE'} = 'IGNORE';
4
+
5
my ($old, $new);
6
7
if (@ARGV == 7) {