Re: git on MacOSX and files with decomposed utf-8 file names
From: Pedro Melo <hidden>
Date: 2016-06-15 22:44:06
Hi, On Jan 17, 2008, at 12:33 AM, Johannes Schindelin wrote:
On Wed, 16 Jan 2008, Linus Torvalds wrote:quoted
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!