From: Robin Rosenberg <robin.rosenberg@dewire.com>
To: Kevin Ballard <kevin@sb.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Johannes Schindelin <Johannes.Schindelin@gmx.de>,
git@vger.kernel.org
Subject: Re: Re-casing directories on case-insensitive systems
Date: Sat, 12 Jan 2008 01:15:40 +0100 [thread overview]
Message-ID: <200801120115.41274.robin.rosenberg@dewire.com> (raw)
In-Reply-To: <1973E1D5-C8CC-4979-A085-85A2C5A13E57@sb.org>
lördagen den 12 januari 2008 skrev Kevin Ballard:
> Speaking of normalizing composed sequences, could that be the cause
> for the following?
[...]
> kevin@KBALLARD:~/Dev/git/gitweb/test> ls Märchen | xxd
> 0000000: 4d61 cc88 7263 6865 6e0a Ma..rchen.
>
> As you can see, git has the file tracked using M\303\244rchen, where
> \303\244 (or 0xC3A4, or U+00E4) is Latin Small Letter A With
> Diaeresis, but the filesystem reports it as "Ma\xCC\x88rchen" where
> 0xCC88 (or U+0308) is Combining Diaeresis.
Yes that is due to normalization. When adding a file by name git uses the user
supplied name, but when adding files indirectly it gets the names from the
file system without denormalizing them. Likewize status gets the names from
the file system without denormalizing and thus you get a mismatch.
-- robin
next prev parent reply other threads:[~2008-01-12 0:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 20:19 Re-casing directories on case-insensitive systems Kevin Ballard
2008-01-11 21:09 ` Kevin Ballard
2008-01-11 21:19 ` Kevin Ballard
2008-01-11 21:25 ` Linus Torvalds
2008-01-11 21:59 ` Robin Rosenberg
2008-01-11 21:18 ` Linus Torvalds
2008-01-11 21:29 ` Johannes Schindelin
2008-01-11 21:44 ` Kevin Ballard
2008-01-11 22:05 ` Johannes Schindelin
2008-01-11 22:08 ` Linus Torvalds
2008-01-11 23:10 ` David Kastrup
2008-01-11 23:12 ` Kevin Ballard
2008-01-11 23:26 ` Robin Rosenberg
2008-01-12 0:03 ` Kevin Ballard
2008-01-12 0:15 ` Robin Rosenberg [this message]
2008-01-12 0:25 ` Kevin Ballard
2008-01-12 0:27 ` Junio C Hamano
2008-01-12 0:40 ` Johannes Schindelin
2008-01-12 1:16 ` Kevin Ballard
2008-01-12 1:30 ` Junio C Hamano
2008-01-12 1:43 ` Kevin Ballard
2008-01-12 12:07 ` David Kastrup
2008-01-12 15:03 ` Dmitry Potapov
2008-01-12 0:37 ` Junio C Hamano
2008-01-12 0:57 ` Robin Rosenberg
2008-01-12 16:33 ` Johannes Schindelin
2008-01-12 14:46 ` Dmitry Potapov
2008-01-12 18:47 ` Linus Torvalds
2008-01-12 19:29 ` Dmitry Potapov
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=200801120115.41274.robin.rosenberg@dewire.com \
--to=robin.rosenberg@dewire.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=kevin@sb.org \
--cc=torvalds@linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.