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

Re: Bug: Git checkout case Insensitive branch name compare

From
Jeff King <peff@peff.net>
Date
Jul 11, 2017, 07:38 UTC
Message-ID
<20170711073836.3nclljuzqgwdg6t5@sigill.intra.peff.net>
In-Reply-To
<CAKvSMhhO7RwiZfpcLR3cK2TXF-v9MrO1N33t8BqX=8f9z=Gd0w@mail.gmail.com>
On Mon, Jul 10, 2017 at 01:15:40PM -0700, kinchit raja wrote:
> Bugs Details:
> 
> Git checkout case Insensitive branch name compare

Right, this is known. Branch names (and all ref names) are case sensitive in Git. Storage on a case-insensitive filesystem may lead to confusion if you mix the cases. Sometimes it will work, and sometimes it will create quite confusing results. One suggested path forward is to encode characters in the filesystem. See:

  http://public-inbox.org/git/20170705083611.jgxbp4sqogicfwdb@sigill.intra.peff.net/
and further down-thread:
  http://public-inbox.org/git/xmqqo9sxdwjp.fsf@gitster.mtv.corp.google.com/
for some recent discussion.
-Peff
Previous: kinchit raja
Message 2 of 2 in “Bug: Git checkout case Insensitive branch name compare”
  1. kinchit rajaJul 10, 2017
  2. Jeff KingJul 11, 2017

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.