Thread (6 messages) flat view 6 messages, 6 authors, 2016-06-15

Re: git on MacOSX and files with decomposed utf-8 file names

From: Pedro Melo <hidden>
Date: 2016-06-15 22:44:06

Hello,

On Jan 17, 2008, at 12:32 AM, David Kastrup wrote:
Pedro Melo [off-list ref] writes:
quoted
On Jan 17, 2008, at 12:16 AM, Linus Torvalds wrote:
quoted
On Wed, 16 Jan 2008, Pedro Melo wrote:
quoted
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...
quoted
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 <insert flavor here> POSIX system.

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo@simplicidade.org
Use XMPP!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help