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