git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Torsten Bögershausen" <tboegi@web.de>
Cc: chengpu lee <okuxxo@gmail.com>,  git@vger.kernel.org
Subject: Re: issue unable to commit file and folder name to upper lower case
Date: Wed, 08 Nov 2023 10:48:46 +0900	[thread overview]
Message-ID: <xmqqleb9816p.fsf@gitster.g> (raw)
In-Reply-To: <20231107173557.GA29083@tb-raspi4> ("Torsten Bögershausen"'s message of "Tue, 7 Nov 2023 18:35:57 +0100")

Torsten Bögershausen <tboegi@web.de> writes:

> 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.


      reply	other threads:[~2023-11-08  1:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-07 11:28 issue unable to commit file and folder name to upper lower case chengpu lee
2023-11-07 17:35 ` Torsten Bögershausen
2023-11-08  1:48   ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqleb9816p.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=okuxxo@gmail.com \
    --cc=tboegi@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).