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

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

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Aug 28, 2010, 10:39 UTC
Message-ID
<AANLkTi=89_QvzNf44OLL6K9-5uG6WLrMtHsA9cbmrCt1@mail.gmail.com>
In-Reply-To
<4C77DDDC.8070407@drmicha.warpmail.net>

On Fri, Aug 27, 2010 at 15:46, Michael J Gruber <git@drmicha.warpmail.net> wrote:

> 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.

FWIW this is called "case preserving". Where the filesystem is case-insensitive so that you can't create both "foo" and "FOO", but it still remembers if you did "touch Foo", "touch FoO" or whatever.

It affects more filesystems than just HFS.
Previous: Jay Soffian
Message 8 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.