From: "Torsten Bögershausen" <tboegi@web.de> To: Daniel Troger <random_n0body@icloud.com> Cc: Philippe Blain <levraiphilippeblain@gmail.com>, "Randall S. Becker" <rsbecker@nexbridge.com>, git@vger.kernel.org, Johannes Schindelin <johannes.schindelin@gmx.de> Subject: Re: git-bugreport-2021-01-06-1209.txt (git can't deal with special characters) Date: Sat, 9 Jan 2021 18:23:01 +0100 Message-ID: <20210109172301.qkxxeeqnyrr6nyc5@tb-raspi4> (raw) In-Reply-To: <7B64BC13-CB54-43CE-8C01-D45E25591E2A@icloud.com> On Fri, Jan 08, 2021 at 08:56:08PM +0100, Daniel Troger wrote: > > That did the trick, the test case is now reproducible here. > > > It seems as if there could be a patch in a couple of days, but no promises. > > That's great news, thank you all very much! Hej Daniel, Not sure if I can keep my promise, please see below. > I was already afraid at first it was some weird macOS filesystem bug only happening on high sierra > and earlier which was never going to be fixed. I haven't heard about anything special about Mac OS High Sierra. If there are strange things, please let us know. (And I still womder, how did you mange to create the "decomposed version of å" ? Mac OS itself doesn't decompose the "å", in opposite to "ä" or "ö". It creates a name for a file in decomposed form for "ä", "ö" and a lot of other characters/code points, but not for "å". It does, however, treat the pre- and de-composed form of "å" equivilent) > > In the meantime I have managed to add "both directories" to git (with git add paulbr*). > It's funny, now one directory shows up twice when viewing my repo on gitlab. > > And this is the message I get when cloning: > warning: the following paths have collided (e.g. case-sensitive paths > on a case-insensitive filesystem) and only one from the same > colliding group is in the working tree: > '[...]/paulbrunngård-springyard/main.ts' > '[...]/paulbrunngård-springyard/main.ts' > > What will happen with the two folders in the git repo after the patch? > Now, that is another question. First of all, I would recommend to "remove" one of the folders from Git, because all files are tracked twice in Git, but "shadowed" by the file system. To clean up the repo, you can do like this, explained in a dummy repo: #One file (that is all we have) is tracked twice: user@mac:/tmp/AAA> git ls-files "paulbrunnga\314\212rd-springyard/horse" "paulbrunng\303\245rd-springyard/horse" # Remove all files from Git, but keep them on disk: user@mac:/tmp/AAA> git rm -rf --cached . rm 'paulbrunngård-springyard/horse' rm 'paulbrunngård-springyard/horse' # Re-add one version, the precomposed: user@mac:/tmp/AAA> git add . user@mac:/tmp/AAA> git status On branch master Changes to be committed: (use "git restore --staged <file>..." to unstage) deleted: "paulbrunnga\314\212rd-springyard/horse" user@mac:/tmp/AAA> git ls-files "paulbrunng\303\245rd-springyard/horse" #Not shown: git commit -m "Remove duplicate directory" #################### Now back to a potential patch: That will take some time. I digged some hours into the stuff, add lots of debug traces, patches and stuff, and now we need a cleanup and get it into a better shape to be acceptable. All the best
next prev parent reply other threads:[~2021-01-09 17:28 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-08 19:56 Daniel Troger 2021-01-09 17:23 ` Torsten Bögershausen [this message] 2021-01-13 14:57 ` Daniel Troger 2021-01-16 17:24 ` Torsten Bögershausen -- strict thread matches above, loose matches on Subject: below -- 2021-01-06 11:35 Daniel Troger 2021-01-06 14:21 ` Torsten Bögershausen 2021-01-06 16:49 ` Daniel Troger 2021-01-06 21:47 ` Torsten Bögershausen 2021-01-06 22:21 ` Daniel Troger 2021-01-06 23:07 ` Randall S. Becker 2021-01-07 14:34 ` Philippe Blain 2021-01-07 15:49 ` Torsten Bögershausen 2021-01-07 16:21 ` Philippe Blain 2021-01-08 19:07 ` Torsten Bögershausen
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 List information: http://vger.kernel.org/majordomo-info.html * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210109172301.qkxxeeqnyrr6nyc5@tb-raspi4 \ --to=tboegi@web.de \ --cc=git@vger.kernel.org \ --cc=johannes.schindelin@gmx.de \ --cc=levraiphilippeblain@gmail.com \ --cc=random_n0body@icloud.com \ --cc=rsbecker@nexbridge.com \ /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
git@vger.kernel.org list mirror (unofficial, one of many) This inbox may be cloned and mirrored by anyone: git clone --mirror https://public-inbox.org/git git clone --mirror http://ou63pmih66umazou.onion/git git clone --mirror http://czquwvybam4bgbro.onion/git git clone --mirror http://hjrcffqmbrq6wope.onion/git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V1 git git/ https://public-inbox.org/git \ git@vger.kernel.org public-inbox-index git Example config snippet for mirrors. Newsgroups are available over NNTP: nntp://news.public-inbox.org/inbox.comp.version-control.git nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git nntp://news.gmane.io/gmane.comp.version-control.git note: .onion URLs require Tor: https://www.torproject.org/ code repositories for the project(s) associated with this inbox: https://80x24.org/mirrors/git.git AGPL code for this site: git clone https://public-inbox.org/public-inbox.git