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

Re: [Bug] Unexpected behavior on case insensitive filesystems

From
Bryan Turner <bturner@atlassian.com>
Date
Jul 2, 2019, 19:05 UTC
Message-ID
<CAGyf7-Ewm3A7h0vcbahMM+Jf=TcygVrkUob5YaAdH9HByh3asw@mail.gmail.com>
In-Reply-To
<CAOt2X9sqbpK2qaKk9uf7fL=WCdzJr4+bx-0CsgjssTKkEhd++Q@mail.gmail.com>

On Tue, Jul 2, 2019 at 10:23 AM Alex Brachet-Mialot <alexbrachetmialot@gmail.com> wrote:

Show 6 quoted lines
>
> Branches behave weirdly for case insensitive filesystems, and I'm
> guessing other things as well. For example say I am on a branch other
> than master, checking out 'Master' will _work_, I will of course be on
> the right branch but git status will say I am on 'Master' (expected
> just 'master') and git branch will highlight no branch.

This comes up on the list fairly often. A couple of recent threads are: https://public-inbox.org/git/d4d8d8208b6a41c380ecf20807763bcf@XCH15-05-02.nw.nos.boeing.com/t/#u https://public-inbox.org/git/CAGyf7-E3-0SiqweoX-uLotwcCcy5MSxG6Zh+DRo6zQPKqTQQpA@mail.gmail.com/t/#u

This also comes up for files within a repository: https://public-inbox.org/git/trinity-4a160867-2036-4f8a-8363-7bf2e021d840-1558184320864@3c-app-gmx-bs48/t/#u https://public-inbox.org/git/AANLkTi=87fUaOH3Y0PVeeH5N7oCVVJyKY3jsf93jw-t7@mail.gmail.com/t/#u

The replies to the first thread explain the behavior, why it does what it does, and why it hasn't been changed yet. It happens on case-insensitive macOS filesystems and on NTFS on Windows.

Hope this helps!
Bryan
Previous: Alex Brachet-Mialot
Message 2 of 2 in “[Bug] Unexpected behavior on case insensitive filesystems”
  1. Alex Brachet-MialotJul 2, 2019
  2. Bryan TurnerJul 2, 2019

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.