From: Pedro Melo Date: Thu, 17 Jan 2008 00:43:30 GMT Subject: Re: git on MacOSX and files with decomposed utf-8 file names Message-ID: <16C3D0BC-3A70-441C-89D9-71B5F0DA0790@simplicidade.org> In-Reply-To: Hi, On Jan 17, 2008, at 12:33 AM, Johannes Schindelin wrote: > 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!