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

Re: folder naming bug?

From
Torsten Bögershausen <tboegi@web.de>
Date
Feb 3, 2015, 08:34 UTC
Message-ID
<54D087FA.8030707@web.de>
In-Reply-To
<06E0624C-2484-476D-A32F-B586062EC230@sparkstart.io>
On 02/03/2015 05:52 AM, Kevin Coleman wrote:
> ====
> Yes, I am on a Mac.  I just tried that, but I don’t think that completely fixed it.  As you can see it tracks “foo/bar.md” and then it tracks “Foo/bar.md”.  It still tracks both “foo” and “Foo” even tho only “Foo” exists in my dir after the rename.

You asked Git to track Foo/bar.md and the file system says "yes, it's here" When you rename Foo/ into foo/, the file system still says "Foo/bar.md" is here. You need to tell git about the rename : git mv Foo/bar.md foo/bar.md

Why does anybody think that setting "core.ignorecase false" will convince the file system to become case insensitive ?

Previous: Torsten Bögershausen
Message 7 of 7 in “folder naming bug?”
  1. Kevin ColemanFeb 3, 2015
  2. Bryan TurnerFeb 3, 2015
  3. Kevin ColemanFeb 3, 2015
  4. Jeff KingFeb 3, 2015
  5. Kevin ColemanFeb 3, 2015
  6. Torsten BögershausenFeb 3, 2015
  7. Torsten BögershausenFeb 3, 2015

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.