public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce•org>
To: Geert Bosch <bosch@adacore•com>
Cc: Git Mailing List <git@vger•kernel.org>
Subject: Re: gitweb/test/Märchen has an identity crisis
Date: Mon, 9 Apr 2007 15:18:20 -0400	[thread overview]
Message-ID: <20070409191820.GA5436@spearce.org> (raw)
In-Reply-To: <FBFBF002-4887-4216-9CF0-42407E93045C@adacore.com>

Geert Bosch <bosch@adacore•com> wrote:
> # 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.

      reply	other threads:[~2007-04-09 19:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-09 19:13 gitweb/test/Märchen has an identity crisis Geert Bosch
2007-04-09 19:18 ` Shawn O. Pearce [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070409191820.GA5436@spearce.org \
    --to=spearce@spearce$(echo .)org \
    --cc=bosch@adacore$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox