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

Re: git diff does not precompose unicode file paths (OS X)

From
Alexander Rinass <alex@fournova.com>
Date
Mar 14, 2016, 21:45 UTC
Message-ID
<A81BB0E5-4879-4A86-9019-BB76734BA9EF@fournova.com>
In-Reply-To
<56DEC5DD.2070407@web.de>
Show 18 quoted lines
> On 08 Mar 2016, at 13:30, Torsten Bögershausen <tboegi@web.de> wrote:
> 
>>> And if not, I can put it on my TODO-stack.
>> I have read through the official contribution guidelines and I think I can
>> send an official patch.
>> 
>> In this case, would you prefer to have a single commit since the change
>> is related? Or would you prefer keeping it in separate commits, since
>> they are different commands and I can use commit subjects like “diff:”
>> and “diff-index:”, etc.?
>> 
> Thanks for the work.
> The same issue fixed at different places:
> I personally would prefer a single commit.
> 
> Another thing is, if we want to add TC in t3910,
> to avoid future regressions.
> (Otherwise I can help with those)

I created a test case but git diff exits with 0 if it does not recognize the file path so the test case always succeeds. Can you give me a hint or one example test case?

Previous: Torsten BögershausenNext: Torsten Bögershausen
Message 9 of 11 in “git diff does not precompose unicode file paths (OS X)”
  1. Alexander RinassMar 4, 2016
  2. Torsten BögershausenMar 4, 2016
  3. Alexander RinassMar 4, 2016
  4. Junio C HamanoMar 4, 2016
  5. Ramsay JonesMar 4, 2016
  6. Alexander RinassMar 7, 2016
  7. Torsten BögershausenMar 7, 2016
  8. Torsten BögershausenMar 8, 2016
  9. Alexander RinassMar 14, 2016
  10. Torsten BögershausenMar 15, 2016
  11. Alexander RinassApr 4, 2016

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.