git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Junio C Hamano
Message 4 of 4 in “git-p4: add "--path-encoding" option”
  1. git-p4: add "--path-encoding" optionlarsxschneider@gmail.com, Aug 31, 2015
  2. git-p4: add "--path-encoding" optionlarsxschneider@gmail.com, Aug 31, 2015
  3. Junio C HamanoAug 31, 2015
  4. Junio C HamanoAug 31, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.