Skip to content

Commit

Permalink
fixup! git-wrapper: support the non-mintty fall-back for Git Bash
Browse files Browse the repository at this point in the history
With this fix, SHOW_CONSOLE=1 will really force a new window to be
displayed.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed May 7, 2015
1 parent a5c8f5e commit 438f3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/win32/git-wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ int main(void)
ZeroMemory(&si, sizeof(STARTUPINFO));
si.cb = sizeof(STARTUPINFO);

if (allocate_console)
if (allocate_console | show_console)
creation_flags |= CREATE_NEW_CONSOLE;
else if ((console_handle = CreateFile(L"CONOUT$", GENERIC_WRITE,
FILE_SHARE_WRITE, NULL, OPEN_EXISTING,
Expand Down

0 comments on commit 438f3e7

Please sign in to comment.