From: Torsten Bögershausen Date: Thu, 27 May 2021 04:56:28 GMT Subject: Re: [BUG REPORT] File names that contain UTF8 characters are unnecessarily escaped in 'git status .' messages Message-ID: <20210527045628.uvesihyhtqrfyfae@tb-raspi4> In-Reply-To: <6318ccec-ec96-91a8-fd65-85daf4a9a22b@rawbw.com> On Wed, May 26, 2021 at 04:41:38PM -0700, Yuri wrote: > On 5/26/21 4:32 PM, Junio C Hamano wrote: > > "git config core.quotepath no"? > > > I didn't have the 'core.quotepath' value set. 'git config core.quotepath no' > changed the behavior to no quoting. > > So it looks like the default value of 'core.quotepath' is incorrect: it > should be based on terminal capabilities. > This are 2 different things. If you are in a project where only ASCII names are allowed (for whatever reason), you may want `git config core.quotepath no`, regardless what the terminal can do. (Beside that, are ther terminals that don't handle UTF-8 these days?) Any, if you prefer UTF-8 as a default, git config --global core.quotepath yes is your friend (like mine)