Johannes Schindelin 1c25e495c1 mingw: emulate write(2) that fails with a SIGPIPE
On Windows, when writing to a pipe fails, errno is always
EINVAL. However, Git expects it to be SIGPIPE.

While write() can set EINVAL on Windows e.g. when the buffer pointer is
NULL, this is not the case for Git's source code, therefore we *know*
that an EINVAL on a pipe is actually an EPIPE.

See https://msdn.microsoft.com/en-us/library/1570wh78.aspx for more
details.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-12-11 12:49:43 +01:00
2015-12-10 19:41:33 +01:00
2015-12-11 07:04:41 +01:00
2015-08-03 11:01:27 -07:00
2015-08-25 14:57:08 -07:00
2015-08-25 14:57:08 -07:00
2015-08-11 13:48:15 -07:00
2015-12-10 19:37:36 +01:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:27 -07:00
2015-12-10 19:41:24 +01:00
2015-09-28 19:16:54 -07:00
2015-09-28 14:57:10 -07:00
2015-12-10 19:37:36 +01:00
2015-08-19 14:48:56 -07:00
2015-08-03 11:01:18 -07:00
2015-12-08 14:12:45 -08:00
2015-09-28 15:28:31 -07:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:27 -07:00
2015-09-04 10:43:23 -07:00
2015-08-25 14:57:09 -07:00
2015-08-25 14:57:08 -07:00
2015-12-04 11:39:19 -08:00
2015-08-25 14:57:08 -07:00
2015-08-25 14:57:09 -07:00
2015-09-28 19:16:54 -07:00
2015-09-09 14:30:35 -07:00
2015-08-11 14:29:36 -07:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

This project is run by a governance model. If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
A fork of Git containing Windows-specific patches.
Readme 476 MiB
2025-08-19 03:50:05 -05:00
Languages
C 51.7%
Shell 37.5%
Perl 4.3%
Tcl 3%
Python 0.8%
Other 2.5%