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

Re: Special characters in file name

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 3, 2011, 19:57 UTC
Message-ID
<m3aaal4cyj.fsf@localhost.localdomain>
In-Reply-To
<4E60C6D0.7090609@intland.com>
Tajti Ákos <akos.tajti@intland.com> writes:
Show 6 quoted lines
> I have a file named "árvíz.txt" in my repository. When modify that
> file and execute git diff, the first line looks like this:
> diff --git "a/\303\241rv\303\255z.txt" "b/\303\241rv\303\255z.txt"
> 
> Is there an option that (if specified) will get git to print
> "árvíz.txt" instead of this escaped string?
Yes, there is, namely `core.quotepath`.

This probably should make it into FAQ on Git Wiki, and into git-diff manpage...

-- 
Jakub Narębski
Previous: Tajti ÁkosNext: Tajti Ákos
Message 8 of 9 in “Special characters in file name”
  1. Tajti ÁkosSep 2, 2011
  2. Alexey ShumkinSep 2, 2011
  3. Jonathan NiederSep 3, 2011
  4. Alexey ShumkinSep 3, 2011
  5. Tajti ÁkosSep 5, 2011
  6. Johannes SixtSep 5, 2011
  7. Tajti ÁkosSep 5, 2011
  8. Jakub NarebskiSep 3, 2011
  9. Tajti ÁkosSep 5, 2011

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.