Re: git on MacOSX and files with decomposed utf-8 file names
- From
Pedro Melo <melo@simplicidade.org>
- Date
- Jan 17, 2008, 00:43 UTC
- Message-ID
- <16C3D0BC-3A70-441C-89D9-71B5F0DA0790@simplicidade.org>
- In-Reply-To
- <alpine.LSU.1.00.0801170032230.17650@racer.site>
Hi,
On Jan 17, 2008, at 12:33 AM, Johannes Schindelin wrote:
Show 10 quoted lines
> On Wed, 16 Jan 2008, Linus Torvalds wrote: > >> So if you are a case-insensitive filesystem, then normalization is >> sane. > > Actually, no. Even an case-challenged filesystem should keep the > _original_ name around, if only for the exact same argument you used > earlier: if the user chooses to capitalise some letters, but not > others, > it is not the filesystem's place to "correct" that.
For the record, HFS+ is case-insensitive but case-preserving so I believe they keep the original filename around. I don't have the spec in front of me, but from memory I believe that this is what they do.
But I think that focusing on HFS+ is loosing sight of the real problem. It's not about encoding at the filesystem, but encoding inside the git structures.
Best regards,
-- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: melo@simplicidade.org Use XMPP!