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

Re: Cygwin: problem with renaming and case

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 22, 2008, 00:32 UTC
Message-ID
<7vtzizmwd4.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<alpine.LFD.1.00.0803211105190.3020@woody.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
> So I agree, in this case the "remove files that go away first" would work 
> around the problem, and we could look into whether that is reasonable in 
> some cases, but in general it's not trivial either.

I think we have two phase "remove then create" in git-apply for an entirely different reason (we do check before doing any removal or creation).

> My personal guess is that it's probably better to start teaching git about 
> case-broken filesystem, even if we start it with some common special case 
> rather than getting every case right from the beginning.

Hmm. I have to say I am not very enthused by the prospect, as I agree with your reasoning in your earlier message why this has been lower priority ("sane people when forced to use case corrupting systems avoid problematic paths to make this a non-issue anyway"). My feeling is that this falls into the "when we are bored to death and have absolutely nothing better to do" category.

Previous: Linus TorvaldsNext: Steffen Prohaska
Message 5 of 11 in “Cygwin: problem with renaming and case”
  1. FrankMar 21, 2008
  2. Linus TorvaldsMar 21, 2008
  3. Avery PennarunMar 21, 2008
  4. Linus TorvaldsMar 21, 2008
  5. Junio C HamanoMar 22, 2008
  6. Steffen ProhaskaMar 22, 2008
  7. Dmitry PotapovMar 21, 2008
  8. streamlake@tiscali.itMar 21, 2008
  9. Brian DessentMar 21, 2008
  10. Nagy BalázsMar 22, 2008
  11. Linus TorvaldsMar 22, 2008

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.