From: Pedro Melo Date: Thu, 17 Jan 2008 00:40:55 GMT Subject: Re: git on MacOSX and files with decomposed utf-8 file names Message-ID: In-Reply-To: <85zlv5nvge.fsf@lola.goethe.zz> Hello, On Jan 17, 2008, at 12:32 AM, David Kastrup wrote: > Pedro Melo writes: >> On Jan 17, 2008, at 12:16 AM, Linus Torvalds wrote: >>> On Wed, 16 Jan 2008, Pedro Melo wrote: >>>> >>>> The difference I see between us is that if I tell my filesystem >>>> that >>>> I want to name my file with a particular string encoded in X, users >>>> using encoding Y will be able to read it correctly. I like my >>>> filesystem to make that work for me. >>> >>> The difference I see between us is that when I tell you that this is >>> exactly the same thing as your file *contents*, you don't seem to >>> get >>> it. >> >> I get that you think its the same thing. >> >> What I don't get is why a user should be forced to know what type of >> encoding he and the other users are using on all the layers going >> down >> to the filesystem. If two users on different systems or in different >> configurations, choose the same unicode string as the name, why do we >> need to make it harder for things to just work out? > > If you do the normalization in the right place, things will just work > out. The file system is not the right place. No problem, but don't you think that git should to it? Don't you think its important in a distributed tool that no matter what system they use, be it linux or solaris, they are able to talk about a file with non-ascii chars and be the same file to both of them? That's the point I'm making. The fact that I need to set LANG across all users of a project is insane... >> I'm willing to accept a file system or other layer that normalizes >> encoding of filenames if that makes the end-user life easier, >> specially in a tool distributed by nature. > > Well, as the issue shows it does not make life for the end-user > easier. I'm assuming you are talking about HFS+ and the strange normalization it does. I'm sorry but that was not the problem I sent. I sent a scenario, in which two users, using the same linux system but with different LANG settings cannot use git reliably. Although this thread started because of HFS+ "choices", the problem is not really related to HFS+ given that you can have the same issues even on the same physical POSIX system. Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: melo@simplicidade.org Use XMPP!