diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-23 14:54:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-23 14:54:35 -0700 |
commit | 53c4b3ed0e4c43fcd95473733b61e560ee21b4bc (patch) | |
tree | 744a5242a62b998b58a1aa8702603cf47b6d76e2 /builtin/diff.c | |
parent | Merge branch 'jc/doc-lint' (diff) | |
parent | diff: run arguments through precompose_argv (diff) | |
download | tgif-53c4b3ed0e4c43fcd95473733b61e560ee21b4bc.tar.xz |
Merge branch 'ar/diff-args-osx-precompose'
Many commands normalize command line arguments from NFD to NFC
variant of UTF-8 on OSX, but commands in the "diff" family did
not, causing "git diff $path" to complain that no such path is
known to Git. They have been taught to do the normalization.
* ar/diff-args-osx-precompose:
diff: run arguments through precompose_argv
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index 343c6b8f25..b7a9405d9f 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -320,6 +320,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix) gitmodules_config(); init_diff_ui_defaults(); git_config(git_diff_ui_config, NULL); + precompose_argv(argc, argv); init_revisions(&rev, prefix); |