Git development
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: "Randal L. Schwartz" <merlyn@stonehenge.com>
Cc: git@vger.kernel.org
Subject: Re: OSX, ZFS, UTF8, git - somebody hates me in this list
Date: Sun, 4 May 2008 17:52:08 -0400	[thread overview]
Message-ID: <20080504215208.GG29038@spearce.org> (raw)
In-Reply-To: <86wsm9dbhk.fsf@blue.stonehenge.com>

"Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
> 
> repeat by:
>     0) download the OSX ZFS drivers
>     1) Make a ZFS partition on OSX.
>     2) Clone git.git to the ZFS partition
>     3) immediately type git-status:
> 
>     # On branch master
>     # Untracked files:
>     #   (use "git add <file>..." to include in what will be committed)
>     #
>     #       "gitweb/test/Ma\314\210rchen"
>     nothing added to commit but untracked files present (use "git add" to track)

Isn't this just the normal HFS+ name mangling?

Apparently the ZFS port to Mac OS X includes the same braindamaged
UTF normalization that is applied to HFS+ volumes, which means
they have reused the code or pushed it higher in their VFS layer.
Linus has started to add support for teaching Git about this sort
of brain damaged filesystem, but nobody has implemented the Mac OS
X specific name hashing function required to make Git see that the
name it got from the readdir(3) call is the same name Git passed
to the OS, just encoded differently.

-- 
Shawn.

  reply	other threads:[~2008-05-04 21:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-04 21:07 OSX, ZFS, UTF8, git - somebody hates me in this list Randal L. Schwartz
2008-05-04 21:52 ` Shawn O. Pearce [this message]
2008-05-04 21:56   ` Randal L. Schwartz
2008-05-04 22:00     ` Randal L. Schwartz
2008-05-05  6:52       ` David Brown
2008-05-05 10:33         ` Wincent Colaiuta
2008-05-04 22:04     ` Shawn O. Pearce
2008-05-04 22:06       ` Randal L. Schwartz
2008-05-04 22:15         ` Shawn O. Pearce
2008-05-05 17:39     ` Randal L. Schwartz
2008-05-05 17:53       ` Linus Torvalds
2008-05-05 19:00         ` Tarmigan
2008-05-05 19:08           ` Randal L. Schwartz
2008-05-05 19:45             ` Linus Torvalds
2008-05-06  8:48               ` Johannes Schindelin
2008-05-05 19:32           ` Mitch Tishmack

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=20080504215208.GG29038@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=merlyn@stonehenge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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