Re: git-bugreport-2021-01-06-1209.txt (git can't deal with special characters)
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Jan 8, 2021, 19:07 UTC
- Message-ID
- <20210108190711.hdafki7kxani7s45@tb-raspi4>
- In-Reply-To
- <613fb31c-c23d-0568-f311-74eb14bba2ca@gmail.com>
On Thu, Jan 07, 2021 at 11:21:56AM -0500, Philippe Blain wrote:
> Hi Torsten,
[snip]
Show 15 quoted lines
> > change to: > FILENAME=file > > > > > rm -rf $DIR && > > mkdir $DIR && > > cd $DIR && > > $GIT init && > > mkdir $DIRNAME && > > add: > cd $DIRNAME && > > > echo "Initial" >$FILENAME &&
[]
That did the trick, the test case is now reproducible here.
I am looking into the stuff, somewhere inside the pathspec machinery, determinating a "prefix" and using xgetcwd we need a precompose_string. But only if core.precomposeunicode is true.
And I am still digging. It seems as if there could be a patch in a couple of days, but no promises.