Thread (12 messages) flat view 12 messages, 6 authors, 2021-05-31

Re: [BUG REPORT] File names that contain UTF8 characters are unnecessarily escaped in 'git status .' messages

From: Torsten Bögershausen <hidden>
Date: 2021-05-27 04:56:48

On Wed, May 26, 2021 at 04:41:38PM -0700, Yuri wrote:
On 5/26/21 4:32 PM, Junio C Hamano wrote:
quoted
"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)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help