[PATCH] diff: run arguments through precompose_argv
- From
Alexander Rinass <alex@fournova.com>
- Date
- Apr 4, 2016, 20:38 UTC
- Message-ID
- <1459802325-22056-1-git-send-email-alex@fournova.com>
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