1
0
mirror of https://github.com/git/git.git synced 2024-09-29 01:32:20 +02:00
git/compat
Alexander Gavrilov 19fb896f5b Windows: Make OpenSSH properly detect tty detachment.
Apparently, CREATE_NO_WINDOW makes the OS tell the process
that it has a console, but without actually creating the
window. As a result, when git is started from GUI, ssh
tries to ask its questions on the invisible console.

This patch uses DETACHED_PROCESS instead, which clearly
means that the process should be left without a console.
The downside is that if the process manually calls
AllocConsole, the window will appear. A similar thing
might occur if it calls another console executable.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Acked-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-11-06 09:26:06 -08:00
..
fnmatch
regex
cygwin.c compat/cygwin.c: make runtime detection of lstat/stat lessor impact 2008-10-28 09:12:49 -07:00
cygwin.h cygwin: Use native Win32 API for stat 2008-09-30 14:30:06 -07:00
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mingw.c Windows: Make OpenSSH properly detect tty detachment. 2008-11-06 09:26:06 -08:00
mingw.h
mkdtemp.c
mmap.c
pread.c
qsort.c
setenv.c
snprintf.c
strcasestr.c
strlcpy.c
strtoumax.c
unsetenv.c
win32.h
winansi.c