Merge branch 'jc/ignore-epipe-in-filter' into next
commit2b14ed73683467e79f83055f6bb46d31d05d847d
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 May 2015 22:07:16 +0000 (20 15:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 May 2015 22:07:16 +0000 (20 15:07 -0700)
treea092d61a9629420e2859e669efa9b4429625fde2
parent60916e6958aa7cb49823f5247da75df19508bf91
parent0c4dd67a048b39470b9b95912e4912fecc405a85
Merge branch 'jc/ignore-epipe-in-filter' into next

Filter scripts were run with SIGPIPE disabled on the Git side,
expecting that they may not read what Git feeds them to filter.
We however treated a filter that does not read its input fully
before exiting as an error.

This changes semantics, but arguably in a good way.  If a filter
can produce its output without consuming its input using whatever
magic, we now let it do so, instead of diagnosing it as a
programming error.

* jc/ignore-epipe-in-filter:
  filter_buffer_or_fd(): ignore EPIPE
  copy.c: make copy_fd() report its status silently
cache.h
lockfile.c