Re: [PATCH v2] git-p4: add "--path-encoding" option
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 31, 2015, 21:08 UTC
- Message-ID
- <xmqqsi6ztbcj.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1441053833-63790-1-git-send-email-larsxschneider@gmail.com>
larsxschneider@gmail.com writes:
Show 10 quoted lines
> From: Lars Schneider <larsxschneider@gmail.com> > > Diff to v1: > * switch example conversions from cp1252 to iso8859-1 (thanks Torsten!) > * fix git-p4.txt line length and double dashes (thanks Junio!) > * remove bare UTF-8 sequence (thanks Junio!) > > As with v1, I ensured the unit test runs on OS X and Linux. > > I noticed one weird point, though. "git ls-files" outputs the UTF-8 characters escaped on Linux and on OS X. Is there a problem with my setup or this a Git bug?
There is no bug, there is no misconfiguration on your part. It is very much deliberate, I think. core.quotepath defaults to false.
Asking is very good, but please don't do so in in-code comment.