From: Junio C Hamano Date: Fri, 12 Feb 2021 22:21:04 +0000 (-0800) Subject: Merge branch 'tb/precompose-prefix-too' X-Git-Tag: v2.31.0-rc0~49 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=commitdiff_plain;h=8b25dee6155fd3816f62649da196a4f42cf5584e Merge branch 'tb/precompose-prefix-too' When commands are started from a subdirectory, they may have to compare the path to the subdirectory (called prefix and found out from $(pwd)) with the tracked paths. On macOS, $(pwd) and readdir() yield decomposed path, while the tracked paths are usually normalized to the precomposed form, causing mismatch. This has been fixed by taking the same approach used to normalize the command line arguments. * tb/precompose-prefix-too: MacOS: precompose_argv_prefix() --- 8b25dee6155fd3816f62649da196a4f42cf5584e