git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] mingw: follow-up to "replace isatty() hack"

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 18, 2017, 21:30 UTC
Message-ID
<xmqq37gg3vjy.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<c329c981-2b92-13b5-0561-d1d2e3fa2803@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
Show 15 quoted lines
>>> -	dup2(new_fd, fd);
>>>  	if (console == handle)
>>>  		console = duplicate;
>>> -	handle = INVALID_HANDLE_VALUE;
>>> +	dup2(new_fd, fd);
>>>
>>>  	/* Close the temp fd.  This explicitly closes "new_handle"
>>>  	 * (because it has been associated with it).
>>>
>
> Looks good and obviously correct (FLW). I can offer a
>
> Reviewed-by: Johannes Sixt <j6t@kdbg.org>
>
> but it will take a day or two until I can test the patch.
I think a Reviewed-by is good enough, as the original
<2ce6060b891f8313cc63a95a9cba9064b7f82eb8.1482448531.git.johannes.schindelin@gmx.de>

already has "Tested-by" to indicate that as a whole this have been tested. The "follow-up" we are commenting on was made out of that original to incrementally update the older version that was queued and merged to 'master' 3 weeks ago.

Thanks.
Previous: Johannes Sixt
Message 4 of 4 in “mingw: follow-up to "replace isatty() hack"”
  1. mingw: follow-up to "replace isatty() hack"Johannes Schindelin, Jan 18, 2017
  2. Junio C HamanoJan 18, 2017
  3. Johannes SixtJan 18, 2017
  4. Junio C HamanoJan 18, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.