We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b226293 + 251e7da commit bd51886Copy full SHA for bd51886
1 file changed
contrib/diff-highlight/diff-highlight
@@ -14,6 +14,10 @@ my @removed;
14
my @added;
15
my $in_hunk;
16
17
+# Some scripts may not realize that SIGPIPE is being ignored when launching the
18
+# pager--for instance scripts written in Python.
19
+$SIG{PIPE} = 'DEFAULT';
20
+
21
while (<>) {
22
if (!$in_hunk) {
23
print;
0 commit comments