diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-24 16:39:13 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-24 16:39:14 -0700 |
| commit | f0a462ecd52573994cfd92df0401782f1e454f60 (patch) | |
| tree | 69a0246a1749dcfe3c169d734301ca2a85b77ace /setup.c | |
| parent | Merge branch 'tb/pseudo-merge-reachability-bitmap' (diff) | |
| parent | macOS: ls-files path fails if path of workdir is NFD (diff) | |
| download | git-f0a462ecd52573994cfd92df0401782f1e454f60.tar.gz git-f0a462ecd52573994cfd92df0401782f1e454f60.zip | |
Merge branch 'tb/precompose-getcwd'
We forgot to normalize the result of getcwd() to NFC on macOS where
all other paths are normalized, which has been corrected. This still
does not address the case where core.precomposeUnicode configuration
is not defined globally.
* tb/precompose-getcwd:
macOS: ls-files path fails if path of workdir is NFD
Diffstat (limited to 'setup.c')
| -rw-r--r-- | setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ static int abspath_part_inside_repo(char *path) size_t wtlen; char *path0; int off; - const char *work_tree = get_git_work_tree(); + const char *work_tree = precompose_string_if_needed(get_git_work_tree()); struct strbuf realpath = STRBUF_INIT; if (!work_tree) |
