That simply isn't true.
Normalization actually has real semantic meaning. If it didn't, there
would never ever be a reason why you'd use the non-normalized form in the
first place.
Others have argued the exact same thing for capitalization. "A" is the
same letter as "a". Except there is a distinction.
The same is true of "a<UMLAUT MODIFIER>" and "<a WITH UMLAUT>". Yes, it's
the same "chacter" in either case. Except when there is a distinction.
And there *are* cases where there are distinctions. Especially inside
computers. For one thing, you may not be talking about "characters on
screen", but you may be talking about "key sequences". And suddenly
"a<UMLAUT MODIFIER>" is a two-key sequence, and "<a WITH UMLAUT>" is a
single-key sequence, and THEY ARE DIFFERENT.
See?
"a" and "A" are the same letter. But sometimes case matters.
Multi-character UTF-8 sequences may be the same character. But sometimes
the sequence matters.
Same exact thing.
Git doesn't care. Just use the *same* sequence everywhere. Make sure
something doesn't change it. Because if something changes it, git will
track it.
Pure and utter garbage.
What you are describing is an *input method* issue, not a filesystem
issue.
The fact that you think this has anything what-so-ever to do with
filesystems, I cannot understand.
Here's an example: I can type Märchen two different ways on my keyboard: I
can press the 'ä' key (yes, I have one, I have a Swedish keyboard), or I
could press the '¨' key and the 'a' key.
See: I get 'ä' and 'ä' respectively.
And as I send this email off, those characters never *ever* got written as
filenames to any filesystem. But they *did* get written as part of
text-files to the disk using "write()", yes.
And according to your *insane* logic, that write() call should have
converted them to the same representation, no?
Hell no! That conversion has absolutely nothing to do with the filesystem.
It's done at a totally different layer that actually knows what it is
doing, and turned them both into \xc3\xa4 (and then, the email client
probably will turn this into Latin1, and send it out as a single-byte
'\xe4' character).
See? Putting the conversion in the filesystem IS INSANE. You wouldn't make
the filesystem convert the characters in the data stream (because it would
cause strange data conversion issues) AND FOR EXACTLY THE SAME REASON it
shouldn't do it for filenames either!
And your claim that "you have no control over the normalization of
characters" is simply insane. Of course you have. It's just not supposed
to be at the filesystem level - whether it's a write() call or a creat()
call!
Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html