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

Re: gitweb/test/Märchen has an identity crisis

From
Shawn O. Pearce <spearce@spearce.org>
Date
Apr 9, 2007, 19:18 UTC
Message-ID
<20070409191820.GA5436@spearce.org>
In-Reply-To
<FBFBF002-4887-4216-9CF0-42407E93045C@adacore.com>
Geert Bosch <bosch@adacore.com> wrote:
Show 9 quoted lines
> # On branch master
> # Changed but not updated:
> #   (use "git add/rm <file>..." to update what will be committed)
> #
> #       deleted:    gitweb/test/Märchen
> 
> Aaaarghh!! There seems something inconsistent in the encoding
> of the ä letter that confuses git on my Mac OS X system.
> My environment has LANG=en_US.UTF-8 set, in case that matters.

This has been discussed on the list in the past. Mac OS X does a bad thing here; it is normalizating the UTF-8 encoding in a different way than Git supplied the encoding. This is apparently done to support its other bad feature, case insensitive filesystems. ;-)

Basically what Git gave Mac OS X during an open() syscall is not what it gets back during a readdir() because the filesystem changed the byte sequence on us. Yea, not cute.

I think I stuck the byte sequence Mac OS X is supplying into my .git/info/exclude and the problem went away...

-- 
Shawn.
Previous: Geert Bosch
Message 2 of 2 in “gitweb/test/Märchen has an identity crisis”
  1. Geert BoschApr 9, 2007
  2. Shawn O. PearceApr 9, 2007

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.