Skip to content

Commit 438f3e7

Browse files
committed
fixup! git-wrapper: support the non-mintty fall-back for Git Bash
With this fix, SHOW_CONSOLE=1 will really force a new window to be displayed. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent a5c8f5e commit 438f3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/win32/git-wrapper.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ int main(void)
451451
ZeroMemory(&si, sizeof(STARTUPINFO));
452452
si.cb = sizeof(STARTUPINFO);
453453

454-
if (allocate_console)
454+
if (allocate_console | show_console)
455455
creation_flags |= CREATE_NEW_CONSOLE;
456456
else if ((console_handle = CreateFile(L"CONOUT$", GENERIC_WRITE,
457457
FILE_SHARE_WRITE, NULL, OPEN_EXISTING,

0 commit comments

Comments
 (0)