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

Git under Windows should warn or fail on entities differning only in case

From
DHDavid Hagood <david.hagood@gmail.com>
Date
Feb 12, 2010, 12:40 UTC
Message-ID
<1265978433.7519.6.camel@chumley>

I work in a mixed Windows and Linux development team where we have an embedded project that we are storing in GIT. However, we got bit by what is arguably a bug in Windows, but...

If you have 2 entities in a directory which have names differing only in case, e.g. "foo" and "FOO", under a REAL operating system with case sensitive file system semantics, this is no problem. However, under Windows and their wonderful "Case preserving but case insensitive" semantics, "FOO" and "foo" would be the same file, so when you pull/checkout/clone a repo with this condition, Windows will overwrite one file, then Git will always see a "change" because one file or the other won't be "right".

I would suggest that git should check for this case, and generate a big warning about it when it happens. (Yes, it sucks burdening Git with Windows' problems....)

Next: Johannes Schindelin
Message 1 of 7 in “Git under Windows should warn or fail on entities differning only in case”
  1. David HagoodFeb 12, 2010
  2. Johannes SchindelinFeb 12, 2010
  3. Pete HarlanFeb 12, 2010
  4. david.hagood@gmail.comFeb 12, 2010
  5. Claus FärberFeb 12, 2010
  6. Julian PhillipsFeb 12, 2010
  7. Daniel BarkalowFeb 13, 2010

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.