diff options
author | Torsten Bögershausen <tboegi@web.de> | 2021-04-04 19:14:14 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-05 17:30:36 -0700 |
commit | c7d0e61016bfa1c6aec04b0d7daec2e64cfccf3e (patch) | |
tree | 8238d28125db8ed1393bf3b7e4f9df85c25750be /apply.c | |
parent | precompose_utf8: make precompose_string_if_needed() public (diff) | |
download | tgif-c7d0e61016bfa1c6aec04b0d7daec2e64cfccf3e.tar.xz |
macOS: precompose startup_info->prefix
The "prefix" was precomposed for macOS in commit 5c327502 (MacOS:
precompose_argv_prefix(), 2021-02-03).
However, this commit forgot to update "startup_info->prefix" after
precomposing.
Move the (possible) precomposition towards the end of
setup_git_directory_gently(), so that precompose_string_if_needed()
can use git_config_get_bool("core.precomposeunicode") correctly.
Keep prefix, startup_info->prefix and GIT_PREFIX_ENVIRONMENT all in sync.
And as a result, the prefix no longer needs to be precomposed in git.c
Reported-by: Dmitry Torilov <d.torilov@gmail.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'apply.c')
0 files changed, 0 insertions, 0 deletions