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

Re: [PATCH] t1800: correct test to handle Cygwin

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 13, 2022, 21:33 UTC
Message-ID
<xmqq8rmn7ydk.fsf@gitster.g>
In-Reply-To
<CA+kUOa=DP6c417ZXXtxsJuyqJgpLZeAyr4URQPtMs0JhH1zVWQ@mail.gmail.com>
Adam Dinwoodie <adam@dinwoodie.org> writes:
Show 8 quoted lines
> ... It makes sense
> given the history of Git for Windows, but it's not a term many people
> are likely to be familiar with unless they've already been playing
> around with the MinGW/Cygwin environments, and I'm not sure that's a
> useful prerequisite for folk to be able to contribute to Git. I'm not
> sure what a better solution here might be; maybe retire "MINGW" and
> redefine "WINDOWS" to take its place, with current uses of "WINDOWS"
> being replaced with "WINDOWS || CYGWIN"?

It sounds more like "the world would've could've been a better place if we did X", which is too late. As a non-Windows person, I think the current approach is OK that assumes that those who write and read to understand our tests can answer the question: "You're on Windows? There are MINGW or CYGWIN, which one do you have?"

Show 5 quoted lines
>> As Đoàn Trần Công Danh pointed out, the TODO: comment may need to be
>> updated.  For future-proofing, perhaps "a more similar) error on all
>> platforms." would be appropriate.
>
> I'll respin with some updated comments shortly…
Thanks.
Previous: Adam DinwoodieNext: Adam Dinwoodie
Message 8 of 10 in “t1800: correct test to handle Cygwin”
  1. t1800: correct test to handle CygwinAdam Dinwoodie, Sep 1, 2022
  2. Junio C HamanoSep 1, 2022
  3. Đoàn Trần Công DanhSep 2, 2022
  4. Johannes SchindelinSep 2, 2022
  5. Junio C HamanoSep 7, 2022
  6. rsbecker@nexbridge.comSep 7, 2022
  7. Adam DinwoodieSep 13, 2022
  8. Junio C HamanoSep 13, 2022
  9. t1800: correct test to handle CygwinAdam Dinwoodie, Sep 15, 2022
  10. rsbecker@nexbridge.comSep 15, 2022

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.