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

Re: Odd issue - The Diffs That WILL NOT DIE.

From
Carlos Martín Nieto <cmn@elego.de>
Date
Dec 7, 2011, 22:58 UTC
Message-ID
<20111207225827.GB641@centaur.lab.cmartin.tk>
In-Reply-To
<CAJ8P3RA48W7ZiABvjkn_KkU-JPnCnaF_X_WK0wPtToph3DGDvg@mail.gmail.com>
On Wed, Dec 07, 2011 at 05:30:19PM -0500, Chris Patti wrote:
Show 7 quoted lines
> Actually I'm wrong on that count, but in an interesting way.
> 
> Both CloudSponge.php and Cloudsponge.php exist and are *not* deleted
> in the remote repository, but on OSX only Cloudsponge.php shows up on
> the filesystem, yet CloudSponge.php is being reported as modified.
> 
> Turns out two of our other developers are also seeing this behavior.

HFS+ (the filesystem used by OSX) is case insensitive unless you toggle some magic switch, so git set core.ignorecase to true on clone (the config manpage claims its done on init or clone, in any case) which makes it assume that Cloudsponge.php and CloudSponge.php are the same file (which in a case-insensitive filesystem is true).

If you want to use OSX to develop this project, you'll have to either rename one of those files or set your filesystem to be case-sensitive (and unset core.ignorecase afterwards). From what I've heard, the OS itself will work fine with a case-sensitive filesystem, but not all applications might. YMMV.

   cmn
Previous: Chris PattiNext: Jeff King
Message 11 of 14 in “Odd issue - The Diffs That WILL NOT DIE.”
  1. Chris PattiDec 6, 2011
  2. Frans KlaverDec 6, 2011
  3. Carlos Martín NietoDec 6, 2011
  4. Chris PattiDec 7, 2011
  5. Philippe VaucherDec 7, 2011
  6. Chris PattiDec 7, 2011
  7. Chris PattiDec 7, 2011
  8. Jeff KingDec 7, 2011
  9. Chris PattiDec 7, 2011
  10. Chris PattiDec 7, 2011
  11. Carlos Martín NietoDec 7, 2011
  12. Jeff KingDec 7, 2011
  13. Robin RosenbergSep 5, 2012
  14. Jeff KingDec 7, 2011

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.