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

gitweb/test/Märchen has an identity crisis

From
GBGeert Bosch <bosch@adacore.com>
Date
Apr 9, 2007, 19:13 UTC
Message-ID
<FBFBF002-4887-4216-9CF0-42407E93045C@adacore.com>

In the git repository, after git checkout -f: potomac:~/git%git status # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) ... # gitweb/test/Märchen

potomac:~/git%rm gitweb/test/Ma\314\210rchen potomac:~/git%git status # 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.

Filename completion results in Ma\314\210rchen, but the index
encodes it as M\303\244rchen:
0107272   g   i   t   w   e   b   /   t   e   s   t   /   M   ?   ?   r
         147 151 164 167 145 142 057 164 145 163 164 057 115 303 244 162

The filesystem seems to be fine with either: potomac:~/git%ls -l gitweb/test/Ma\314\210rchen gitweb/test/M\303 \244rchen -rw-r--r-- 1 bosch staff 17 2007-04-09 14:51 gitweb/test/Märchen -rw-r--r-- 1 bosch staff 17 2007-04-09 14:51 gitweb/test/Märchen

Anybody has insights in what causes this? Thanks in advance!
   -Geert
Next: Shawn O. Pearce
Message 1 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.