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

File names are considered case insensitive in a folder. (aBcd.py ==AbcD.py) Inbox x

From
VGVish Gite <vishgite@gmail.com>
Date
Mar 17, 2017, 09:28 UTC
Message-ID
<CA+vHbJL5QMmtzRjQ8tV9Ntrh8=2bspPLeu=34RVFeDTVUhEuWw@mail.gmail.com>
Hello,

Git 2.10.1 on Apple mac is treating different(uppercase/lowercase) files as same name(e.g ABCD.py and abcd.py)

In a project where file name is same but case is different, either ABCD.py or abcd.py. There is always one of these files is modified.

Below is the git version on my mac. snappy:myproject$ git version git version 2.10.1 (Apple Git-78)

Where as git 2.7.4 on Linux Ubuntu xenial is treating ABCD.py and abcd.py as different files.

To reproduce the issue on mac. Clone a project that has two files in same directory with same name but different case. ClassTest.py and classtest.py

Thanks, Vishnu

Next: Torsten Bögershausen
Message 1 of 2 in “File names are considered case insensitive in a folder. (aBcd.py ==AbcD.py) Inbox x”
  1. Vish GiteMar 17, 2017
  2. Torsten BögershausenMar 17, 2017

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.