git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Torsten Bögershausen
Message 4 of 4 in “Git on macOS shows committed files as untracked”
  1. roeder.git@mailnull.comJul 12, 2017
  2. Jeff KingJul 12, 2017
  3. Torsten BögershausenJul 13, 2017
  4. Junio C HamanoJul 13, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.