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

Re: "add -p" + filenames with UTF-8 multibyte characters = "No changes"

From
TLTeemu Likonen <tlikonen@iki.fi>
Date
Feb 15, 2009, 19:11 UTC
Message-ID
<87prhjqzwb.fsf@iki.fi>
In-Reply-To
<2b8265360902151100n2eca0182odf9543c1dd8a7f98@mail.gmail.com>
[Added the Git list back to delivery.]
On 2009-02-15 20:00 (+0100), Antonio García Domínguez wrote:
Show 6 quoted lines
>> This bug is documented in BUGS section of "git add" manual (see "git
>> help add"). You can work it around with
>>
>>    git config --global core.quotepath false
>
> Oh, sorry, I should have known better and RTFM. :-D

No problem at all. I was bitten by the same bug earlier, and as I wasn't able to fix it I sent a documentation patch instead. :-)

"core.quotepath=false" is good for other purposes too. It prints UTF-8 filenames in diff headers in form that is actually readable. I think it would be better default.

Previous: Teemu LikonenNext: Jeff King
Message 3 of 8 in “"add -p" + filenames with UTF-8 multibyte characters = "No changes"”
  1. Antonio García DomínguezFeb 15, 2009
  2. Teemu LikonenFeb 15, 2009
  3. Teemu LikonenFeb 15, 2009
  4. Jeff KingFeb 16, 2009
  5. Junio C HamanoFeb 16, 2009
  6. git-add -i/-p: learn to unwrap C-quoted pathsJunio C Hamano, Feb 17, 2009
  7. Teemu LikonenFeb 17, 2009
  8. Teemu LikonenFeb 16, 2009

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.