Files
git/compat
Johannes Schindelin 583206e958 squash! mingw: emulate write(2) that fails with a SIGPIPE
We fail with EPIPE, not SIGPIPE...

Also, replace paragraph about EINVAL on Windows by:

According to the documentation, there are two cases in which write()
triggers EINVAL: the buffer is NULL, or the length is odd but the mode
is 16-bit Unicode (the broken pipe is not mentioned as possible cause).
Git never sets the file mode to anything but binary, therefore we know
that errno should actually be EPIPE if it is EINVAL and the buffer is
not NULL.

And append:

This works around t5571.11 failing with v2.6.4.
2015-12-12 14:47:47 +01:00
..
2014-06-03 12:06:40 -07:00
2013-09-11 11:08:52 -07:00