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

Re: issue unable to commit file and folder name to upper lower case

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 8, 2023, 01:48 UTC
Message-ID
<xmqqleb9816p.fsf@gitster.g>
In-Reply-To
<20231107173557.GA29083@tb-raspi4>
Torsten Bögershausen <tboegi@web.de> writes:
Show 12 quoted lines
> Yes, that is a restriction in Git, call it a bug, call it a missing feature.
> Unless someone fixes it, the recommendation is still to use a workaround:
>
> tb@pc:/tmp/ttt> git mv Abc tmp
> tb@pc:/tmp/ttt> git mv tmp abc
> tb@pc:/tmp/ttt> git status
> On branch master
> Changes to be committed:
>   (use "git restore --staged <file>..." to unstage)
>         renamed:    Abc/.keep -> abc/.keep
>
> tb@pc:/tmp/ttt>
Correct and very helpful suggestion.  Or get a better filesystem ;-)
Thanks.
Previous: Torsten Bögershausen
Message 3 of 3 in “issue unable to commit file and folder name to upper lower case”
  1. chengpu leeNov 7, 2023
  2. Torsten BögershausenNov 7, 2023
  3. Junio C HamanoNov 8, 2023

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.