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

Re: Git on Mac OS and precomposed unicode

From
Torsten Bögershausen <tboegi@web.de>
Date
Mar 21, 2013, 16:04 UTC
Message-ID
<514B2F98.30409@web.de>
In-Reply-To
<64B4EB934AFE4B358B94EB717103887E@leo-koppelkamm.de>
On 21.03.13 14:00, Leo Koppelkamm wrote:
Show 21 quoted lines
> Torsten Bögershausen added a patch for this a while ago.
> It seems it only works for files, not for folders with unicode in it.
>
> Eg. on ubuntu box:
> git init
> mkdir hä
> touch hä/file
> git add hä
> git commit 
>
> Later on Mac
> git clone ………
> git status
>
> # On branch master 
> # Untracked files: 
> # (use "git add <file>..." to include in what will be committed) 
> # 
> # hä/
>
> Regards Leo
That is what I read from the commit message:
   When creating a new git repository with "git init" or "git clone",
    "core.precomposedunicode" will be set "false".
   
    The user needs to activate this feature manually.  She typically
    sets core.precomposedunicode to "true" on HFS and VFAT, or file
    systems mounted via SAMBA.

(Which is slighty wrong, because the name of the config variable is core.precomposeunicode)

What does git config core.precomposeunicode say ?

You may consider to set it to set it to true globally, git config --global core.precomposeunicode true, and the next "git clone" will work as expected.

On the other hand, could/should we consider to change the default to true in Git 2.0?

HTH /Torsten

 
What does git config
Next: Leo Koppelkamm
Message 1 of 2 in “Re: Git on Mac OS and precomposed unicode”
  1. Torsten BögershausenMar 21, 2013
  2. Leo KoppelkammMar 21, 2013

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.