From: Dmitry Potapov Date: Sat, 12 Jan 2008 19:29:03 GMT Subject: Re: Re-casing directories on case-insensitive systems Message-ID: <20080112192903.GJ2963@dpotapov.dyndns.org> In-Reply-To: On Sat, Jan 12, 2008 at 10:47:10AM -0800, Linus Torvalds wrote: > > And that isn't going to change. It's the only sane way to do > locale-independent names: people can *choose* to see the filenames as some > UTF-8 sequence, or a series of Latin1, or anything, but that's not > something git itself will care about. Unfortunately, to agree on a single encoding for different systems is even more difficult than agreeing on a single end-of-line encoding. OTOH, it is not a real issue as long as anyone use ASCII names only. > > Trying to involve locale in name comparison simply isn't possible. Agreed. However, the proper solution would be that all filenames are stored in UTF-8, so conversation is done when a file is added to the index. But that requires a lot of work, and as I said before, I doubt that many people really want to store files with non-ASCII names, after all, Git is a developer tool. So, as far as I am concern, it does not worth efforts. Dmitry