{"thread":{"id":"7587","subject":"gitweb/test/Märchen has an identity crisis","startedAt":"2007-04-09T19:13:49Z","lastAt":"2007-04-09T19:18:20Z","messageCount":2,"participants":["Geert Bosch","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"38956","messageId":"FBFBF002-4887-4216-9CF0-42407E93045C@adacore.com","threadId":"7587","inReplyTo":null,"subject":"gitweb/test/Märchen has an identity crisis","fromName":"Geert Bosch","fromEmail":"bosch@adacore.com","sentAt":"2007-04-09T19:13:49Z","receivedAt":"2007-04-09T19:13:49Z","isPatch":false,"sender":{"key":"bosch@adacore.com","avatar":null},"body":"In the git repository, after git checkout -f:\npotomac:~/git%git status\n# On branch master\n# Untracked files:\n#   (use \"git add <file>...\" to include in what will be committed)\n...\n#       gitweb/test/Märchen\n\npotomac:~/git%rm gitweb/test/Ma\\314\\210rchen\npotomac:~/git%git status\n# On branch master\n# Changed but not updated:\n#   (use \"git add/rm <file>...\" to update what will be committed)\n#\n#       deleted:    gitweb/test/Märchen\n\nAaaarghh!! There seems something inconsistent in the encoding\nof the ä letter that confuses git on my Mac OS X system.\nMy environment has LANG=en_US.UTF-8 set, in case that matters.\n\nFilename completion results in Ma\\314\\210rchen, but the index\nencodes it as M\\303\\244rchen:\n0107272   g   i   t   w   e   b   /   t   e   s   t   /   M   ?   ?   r\n         147 151 164 167 145 142 057 164 145 163 164 057 115 303 244 162\n\nThe filesystem seems to be fine with either:\npotomac:~/git%ls -l gitweb/test/Ma\\314\\210rchen gitweb/test/M\\303 \n\\244rchen\n-rw-r--r-- 1 bosch staff 17 2007-04-09 14:51 gitweb/test/Märchen\n-rw-r--r-- 1 bosch staff 17 2007-04-09 14:51 gitweb/test/Märchen\n\nAnybody has insights in what causes this? Thanks in advance!\n\n   -Geert"},{"id":"38965","messageId":"20070409191820.GA5436@spearce.org","threadId":"7587","inReplyTo":"FBFBF002-4887-4216-9CF0-42407E93045C@adacore.com","subject":"Re: gitweb/test/Märchen has an identity crisis","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-04-09T19:18:20Z","receivedAt":"2007-04-09T19:18:20Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Geert Bosch <bosch@adacore.com> wrote:\n> # On branch master\n> # Changed but not updated:\n> #   (use \"git add/rm <file>...\" to update what will be committed)\n> #\n> #       deleted:    gitweb/test/Märchen\n> \n> Aaaarghh!! There seems something inconsistent in the encoding\n> of the ä letter that confuses git on my Mac OS X system.\n> My environment has LANG=en_US.UTF-8 set, in case that matters.\n\nThis has been discussed on the list in the past.  Mac OS X does a bad\nthing here; it is normalizating the UTF-8 encoding in a different\nway than Git supplied the encoding.  This is apparently done to\nsupport its other bad feature, case insensitive filesystems.  ;-)\n\nBasically what Git gave Mac OS X during an open() syscall is not\nwhat it gets back during a readdir() because the filesystem changed\nthe byte sequence on us.  Yea, not cute.\n\nI think I stuck the byte sequence Mac OS X is supplying into my\n.git/info/exclude and the problem went away...\n\n-- \nShawn.\n"}]}