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

Re: [PATCH] mingw: make isatty() recognize MSYS2's pseudo terminals (/dev/pty*)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 27, 2016, 13:33 UTC
Message-ID
<alpine.DEB.2.20.1605271529540.4449@virtualbox>
In-Reply-To
<xmqqvb20wy5x.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Thu, 26 May 2016, Junio C Hamano wrote:
Show 14 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > I do not see this patch in 'pu'... Anything I can do to get this into
> > 'master' eventually?
> 
> The reason why I left it in my inbox was because I couldn't tell if
> this was a final submission with concensus among Git developers on
> Windows, or I should be giving a chance to comment to some folks who
> work on Windows port but are not necessarily closely communicating
> with you.
> 
> If the message were Cc'ed to J6t, I would probably have queued it on
> 'pu' and marked it as "Will merge after waiting for a few days" in
> What's cooking.

Hannes does not use Git for Windows' SDK, but instead uses an old MSys-based development environment that predates even msysGit (which was the SDK used to develop Git for Windows 1.x). His environment most notably does *not* use MinTTY, and therefore is unaffected by the bug that this patch fixes.

That was the entire reasoning why I did not ask Hannes to review this patch: it is unlikely that he knows about the issue, let alone about the correctness of the implementation of this patch.

The implementation relies on some really low-level knowledge of the Windows internals, which Karsten reverse-engineered and I verified.

Thanks, Dscho

Previous: Junio C Hamano
Message 4 of 4 in “mingw: make isatty() recognize MSYS2's pseudo terminals (/dev/pty*)”
  1. mingw: make isatty() recognize MSYS2's pseudo terminals (/dev/pty*)Johannes Schindelin, Apr 27, 2016
  2. Johannes SchindelinMay 26, 2016
  3. Junio C HamanoMay 26, 2016
  4. Johannes SchindelinMay 27, 2016

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.