From: Junio C Hamano Date: Thu, 13 Jul 2017 19:35:50 GMT Subject: Re: Git on macOS shows committed files as untracked Message-ID: In-Reply-To: <130b338b-2e77-65d6-a3fa-f272ac43b81c@web.de> Torsten Bögershausen writes: > Thanks for the fast analyzes - > in short: > what does > git -c core.precomposeunicode=true status > say ? > > The easiest thing may be to set > git config --global core.precomposeunicode true Good suggestion. I learned a new thing today. I somehow thought that precompose trick was only about argv[] when a program starts up and did not apply to paths readdir(3) finds through dir.c, e.g. $ git add . But apparently there is replacement readdir() used in compat/ for MacOSX so the paths from the system are also covered by the configuration.