Karsten Blees 7d57fb4511 mingw: make isatty() recognize MSys pseudo terminals (/dev/pty*)
MSys2 emulates pseudo terminals via named pipes, and isatty() returns 0
for such file descriptors. Therefore, some interactive functionality (such
as launching a pager, asking if a failed unlink should be repeated etc.)
doesn't work when run in a terminal emulator that uses MSys ptys (such as
mintty).

However, MSys uses special names for its pty pipes ('msys-*-pty*'), which
allows us to distinguish them from normal piped input / output.

On startup, check if stdin / stdout / stderr are connected to such pipes
using the NtQueryObject API from NTDll.dll. If the names match, adjust the
flags in MSVCRT's ioinfo structure accordingly.

Signed-off-by: Karsten Blees <blees@dcon.de>
2015-04-20 19:24:29 +02:00
2015-04-16 13:09:16 +01:00
2015-04-01 09:54:08 +01:00
2015-04-01 10:00:06 +01:00
2015-04-01 09:00:38 +01:00
2015-04-01 09:00:38 +01:00
2015-04-01 09:00:38 +01:00
2015-04-01 09:54:14 +01:00
2015-03-31 14:57:10 -07:00
2015-04-01 10:03:51 +01:00
2015-04-01 10:03:56 +01:00
2015-04-01 09:00:16 +01:00
2015-03-20 12:41:41 -07:00
2015-03-28 09:36:30 -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.

If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
No description provided
Readme 660 MiB
Languages
C 50.5%
Shell 38.8%
Perl 4.4%
Tcl 3.2%
Python 0.8%
Other 2.1%