summaryrefslogtreecommitdiff
path: root/templates/branches--
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-11-04 15:01:12 -0500
committerJunio C Hamano <gitster@pobox.com>2014-11-04 13:18:35 -0800
commit251e7dad517bd369387c4dedfe77b380f025e0f3 (patch)
treeb7ba495d93e721ac136eac5a5f421b7460e2981c /templates/branches--
parenteeff891ac756fd97a05476446f15269b714ce4cc (diff)
downloadgit-251e7dad517bd369387c4dedfe77b380f025e0f3.tar.gz
diff-highlight: exit when a pipe is brokenjs/diff-highlight-avoid-sigpipe
While using diff-highlight with other tools, I have discovered that Python ignores SIGPIPE by default. Unfortunately, this also means that tools attempting to launch a pager under Python--and don't realize this is happening--means that the subprocess inherits this setting. In this case, it means diff-highlight will be launched with SIGPIPE being ignored. Let's work with those broken scripts by restoring the default SIGPIPE handler. Signed-off-by: John Szakmeister <john@szakmeister.net> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/branches--')
0 files changed, 0 insertions, 0 deletions