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

Re: [PATCH v2 1/3] git clone <url> C:\cygwin\home\USER\repo' is working (again)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 12, 2018, 13:57 UTC
Message-ID
<nycvar.QRO.7.76.6.1812121435570.43@tvgsbejvaqbjf.bet>
In-Reply-To
<CABPp-BHqJ_Dqpi-N-GVu9difvh-SnD1SZ2-SqaG0ctu5fBX-Tw@mail.gmail.com>
Hi Elijah,
On Tue, 11 Dec 2018, Elijah Newren wrote:
Show 8 quoted lines
> I'm worried based on other emails in this thread that there is a
> fundamental difference in frame of reference leading to a
> misunderstanding about rationale for naming, and worse that folks might
> not even realize where the misunderstanding is coming from, attributing
> it to different motives rather than different frames of reference.  If
> that's true, I hope this email can begin the process of clearing up the
> differences of understanding.  If I'm wrong, then I apologize for the
> noise; just ignore me.

I think you brought up quite a few good points (also in the part that I did not quote).

The part I quoted brings up one particular aspect that I would like to drive home a little more: the purpose of naming, and the historical reality. ("hysterical raisins" comes to mind.)

In Git, we have an awful lot of references to MINGW, which is the name of a project that tried to allow compiling software targeting pure Windows (i.e. the Win32 API, without any POSIX compatibility layer) with the GNU C compiler.

As many open source projects require more than just the GNU C compiler (e.g. a Bash to run ./configure), there is also MSys, which is a minimal fork of a then-current version of Cygwin, originally intended for the sole purpose to support building MINGW software.

To make things more confusing, at some stage the mingw-w64 project was started (not as a fork of MINGW, AFAIU), to address the notable lack of 64-bit support in MINGW, and later the MSYS2 project was started, based on mingw-w64, to address the same issue with MSys (also not forking, but instead starting from scratch).

Back in 2006, when I started to port Git to Windows, I made use of MINGW and MSys (and I abused MSys by shipping their Bash with Git, which was distinctly not intended a usage of their Bash). Hannes Sixt picked up when I stopped having access to a fast Windows machine, and kept my naming: compat/mingw.c.

Now, Philip Oakley, Jeff Hostetler and a few other developers spent quite a bit of effort to make Git compile also with Visual C, and of course the reused parts of compat/mingw.c (whose name now does not make too much sense anymore, except in historical context).

Likewise, when I switched to MSYS2/mingw-w64 with the major version jump to Git for Windows 2.x in 2015, I no longer use MINGW to compile *anything*.

I hope that this illustrated a little bit how our names came about.

Of course, we could now spend some time to change the names to reflect more the product and brand names involved. There does not seem to be any really compelling reason to do so, though. And I'd rather spend my time developing exciting features. But that's my preference for my time, so if anybody comes along, making a strong case for renaming, in a well-crafted patch series, who am I to say no to that.

Ciao, Dscho

Previous: Elijah NewrenNext: tboegi@web.de
Message 45 of 56 in “Cygwin Git with Windows paths”
  1. Steven PennyNov 18, 2018
  2. Torsten BögershausenNov 18, 2018
  3. Steven PennyNov 18, 2018
  4. Torsten BögershausenNov 18, 2018
  5. Steven PennyNov 18, 2018
  6. Torsten BögershausenNov 18, 2018
  7. Steven PennyNov 18, 2018
  8. Junio C HamanoNov 19, 2018
  9. Randall S. BeckerNov 19, 2018
  10. Junio C HamanoNov 19, 2018
  11. Torsten BögershausenNov 19, 2018
  12. Steven PennyNov 20, 2018
  13. Torsten BögershausenNov 20, 2018
  14. Steven PennyNov 20, 2018
  15. Randall S. BeckerNov 19, 2018
  16. 1/1 'git clone <url> C:\cygwin\home\USER\repo' is working (again)tboegi@web.de, Nov 26, 2018
  17. Steven PennyNov 27, 2018
  18. Junio C HamanoNov 27, 2018
  19. Steven PennyNov 27, 2018
  20. Junio C HamanoNov 27, 2018
  21. Steven PennyNov 27, 2018
  22. Johannes SchindelinNov 27, 2018
  23. Junio C HamanoNov 28, 2018
  24. J.H. van de WaterNov 28, 2018
  25. Johannes SchindelinNov 28, 2018
  26. HouderNov 28, 2018
  27. Johannes SchindelinNov 28, 2018
  28. Achim GratzNov 27, 2018
  29. Johannes SchindelinNov 27, 2018
  30. Junio C HamanoNov 28, 2018
  31. Achim GratzNov 27, 2018
  32. 2/3 offset_1st_component(), dos_drive_prefix() return size_ttboegi@web.de, Dec 7, 2018
  33. 1/3 git clone <url> C:\cygwin\home\USER\repo' is working (again)tboegi@web.de, Dec 7, 2018
  34. Johannes SchindelinDec 7, 2018
  35. Steven PennyDec 8, 2018
  36. Johannes SchindelinDec 10, 2018
  37. Steven PennyDec 10, 2018
  38. Johannes SchindelinDec 11, 2018
  39. Steven PennyDec 12, 2018
  40. Johannes SixtDec 12, 2018
  41. Steven PennyDec 12, 2018
  42. Junio C HamanoDec 13, 2018
  43. Johannes SchindelinDec 12, 2018
  44. Elijah NewrenDec 12, 2018
  45. Johannes SchindelinDec 12, 2018
  46. 3/3 Refactor mingw_cygwin_offset_1st_component()tboegi@web.de, Dec 7, 2018
  47. Johannes SchindelinDec 7, 2018
  48. 1/1 git clone <url> C:\cygwin\home\USER\repo' is working (again)tboegi@web.de, Dec 8, 2018
  49. Steven PennyDec 8, 2018
  50. Junio C HamanoDec 9, 2018
  51. Johannes SchindelinDec 10, 2018
  52. Torsten BögershausenDec 11, 2018
  53. Johannes SchindelinDec 11, 2018
  54. Torsten BögershausenDec 11, 2018
  55. 1/1 git clone <url> C:\cygwin\home\USER\repo' is working (again)tboegi@web.de, Dec 15, 2018
  56. Achim GratzMay 2, 2019

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.