diff options
Diffstat (limited to 'third_party/git/contrib/diff-highlight/diff-highlight.perl')
-rw-r--r-- | third_party/git/contrib/diff-highlight/diff-highlight.perl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/git/contrib/diff-highlight/diff-highlight.perl b/third_party/git/contrib/diff-highlight/diff-highlight.perl new file mode 100644 index 000000000000..9b3e9c1f4d7b --- /dev/null +++ b/third_party/git/contrib/diff-highlight/diff-highlight.perl @@ -0,0 +1,8 @@ +package main; + +# Some scripts may not realize that SIGPIPE is being ignored when launching the +# pager--for instance scripts written in Python. +$SIG{PIPE} = 'DEFAULT'; + +DiffHighlight::highlight_stdin(); +exit 0; |