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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, 20 Jan 2008, Dmitry Potapov wrote:
>
> On Sat, Jan 19, 2008 at 10:58:08PM +0000, Johannes Schindelin wrote:
> > 
> > I think a better approach would be to try to match the name to what we 
> > have in the index.  Then we could implement case-insensitivity and MacOSX 
> > workaround at the same time.
> 
> I thought about that, but the problem is that HFS+ _already_ mangled
> names from what the user entered (and what is used by anyone else)
> to some sub-standard form, which no one outside of Mac likes or uses.

Well, more importantly, most of the important cases actually don't have an 
index entry yet.

For example, what about "git add"? That's when it really matters that you 
add things in a sane format, and by definition, you don't have an index 
entry to try to match to. 

So once you aim for NFC in "git add", now the index will generally be in 
NFC anyway (since I agree that that's what you'd normally get on non-OSX 
systems), so there is little point in then matching the index.

But no, it won't fix all problems. I do suspect it would make them less 
obvious in practice, though.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux