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

Re: Does changing filename case breaks git's rename heuristic?

From
SBStephen Bash <bash@genarts.com>
Date
Aug 27, 2010, 16:22 UTC
Message-ID
<29718856.121438.1282926174106.JavaMail.root@mail.hq.genarts.com>
In-Reply-To
<4C77DDDC.8070407@drmicha.warpmail.net>
Show 10 quoted lines
> > I'm using a Mac with a journaled filesystem and Git version 1.7.2.1.
> 
> The journalling is no problem, but HFS is. I'm no Macxpert but if I
> remember correctly, then under HFS "readme" and "README" are the same
> file, i.e. HFS only remembers how you want it spelled. People will
> correct me where I'm wrong.
> 
> Your test script should produce the expected result if you use, say,
> "readme" and "RAEDME" , i.e. names which differ by more than just
> case.
It's a problem on some (most?) Macs.  A while back Apple introduced an option to format a partition as case sensitive (Wikipedia implies 10.3 introduced this feature).  For a long time after the feature was introduced the factory install continued to be not case sensitive, but I don't know if that's still the case (no pun intended).
Stephen
Previous: Michael J GruberNext: Jay Soffian
Message 6 of 8 in “Does changing filename case breaks git's rename heuristic?”
  1. Dan LoewenherzAug 27, 2010
  2. Ramkumar RamachandraAug 27, 2010
  3. Michael J GruberAug 27, 2010
  4. Dan LoewenherzAug 27, 2010
  5. Michael J GruberAug 27, 2010
  6. Stephen BashAug 27, 2010
  7. Jay SoffianAug 27, 2010
  8. Ævar Arnfjörð BjarmasonAug 28, 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.