git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] diff: run arguments through precompose_argv
@ 2016-04-04 20:38 Alexander Rinass
  2016-04-04 20:38 ` Alexander Rinass
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander Rinass @ 2016-04-04 20:38 UTC (permalink / raw)
  To: git; +Cc: Torsten Bögershausen, Alexander Rinass

I found an issue where file paths containing decomposed unicode chars
are not converted to precomposed unicode form when passed to the diff
command family.

As a result, no diff is displayed.

With the help of Torsten Bögershausen and Junio C Hamano I came up 
with the following patch to fix the issue.

Alexander Rinass (1):
  diff: run arguments through precompose_argv

 builtin/diff-files.c         |  1 +
 builtin/diff-index.c         |  1 +
 builtin/diff-tree.c          |  2 ++
 builtin/diff.c               |  1 +
 t/t3910-mac-os-precompose.sh | 42 ++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 47 insertions(+)

-- 
2.7.2

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-05-12 15:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 20:38 [PATCH] diff: run arguments through precompose_argv Alexander Rinass
2016-04-04 20:38 ` Alexander Rinass
2016-04-05 17:09   ` Junio C Hamano
2016-04-05 19:15     ` Johannes Sixt
2016-04-05 19:27       ` Torsten Bögershausen
2016-04-05 21:42         ` Junio C Hamano
2016-04-06  6:51       ` Alexander Rinass
2016-04-06  7:47         ` Torsten Bögershausen
2016-04-06 17:27           ` Junio C Hamano
2016-05-11 22:08         ` Junio C Hamano
2016-05-12 11:16           ` Alexander Rinass
2016-05-12 15:39             ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).