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