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

Re: file name case-sensitivity issues

From
Linus Torvalds <torvalds@osdl.org>
Date
May 23, 2006, 21:16 UTC
Message-ID
<Pine.LNX.4.64.0605231412350.5623@g5.osdl.org>
In-Reply-To
<20060523210615.GB5869@steel.home>
On Tue, 23 May 2006, Alex Riesen wrote:
Show 5 quoted lines
>
> Very simple to reproduce on FAT and NTFS, and under Windows, as usual,
> when a problem is especially annoying. I seem to have no chance to
> get my hands on this myself, so I at least let everyone know about the
> problem.
I don't think we can fix it.
At least not in the short term.

The closest I can imagine is to add a config option like "core.lowercase", and that would make us always add files to the index in lower case. That, together with making sure that "setup_pathspec()" &co always also lower-case their arguments might get things limping along with minimal trouble.

But it won't ever do things _well_. Anything non-ascii would be just a nightmare.

		Linus
Previous: Alex RiesenNext: Linus Torvalds
Message 2 of 10 in “file name case-sensitivity issues”
  1. Alex RiesenMay 23, 2006
  2. Linus TorvaldsMay 23, 2006
  3. Linus TorvaldsMay 23, 2006
  4. Ben CliffordMay 23, 2006
  5. Junio C HamanoMay 24, 2006
  6. Ben CliffordMay 24, 2006
  7. Junio C HamanoMay 23, 2006
  8. Alex RiesenMay 25, 2006
  9. Junio C HamanoMay 25, 2006
  10. Christopher FaylorMay 26, 2006

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.