From bc72e07f3e16778aab1e2f99c16aa10dc6f5ff90 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 12 Apr 2010 14:30:59 -0700 Subject: [PATCH] Ignore sigpipe in external diff driver Otherwise the caller will notice (yuck) when the user quits the pager without reading through to the end --- compare-cooking.perl | 2 ++ 1 file changed, 2 insertions(+) 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) {