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

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

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:44:06


On Fri, 18 Jan 2008, Peter Karlsson wrote:
But they are not different strings, they are canonically equivalent as
far as Unicode is concerned.
Fuck me with a spoon.

Why the hell cannot people see that "equivalent" and "same" are two 
totally different meanings.
You cannot do a binary comparison of text to see if two strings are
equivalent.
.. and this is relevant how? They are different strings. Not the same.

Equivalence doesn't matter. Equivalence is *evil*. Equivalence is what 
gives us case-insensitive filesystems ("because the names are 
equivalent").

Filesystems don't *want* equivalence. They want a much stronger exactness 
guarantee. Exactly because sometimes the differences matter.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help