Re: Git on macOS shows committed files as untracked
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 13, 2017, 19:35 UTC
- Message-ID
- <xmqq60eww2nd.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <130b338b-2e77-65d6-a3fa-f272ac43b81c@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
Show 8 quoted lines
> 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.