From: Dmitry Potapov Date: Tue, 12 May 2009 18:28:28 GMT Subject: Re: Cross-Platform Version Control Message-ID: <20090512182828.GA26812@dpotapov.dyndns.org> In-Reply-To: <419AD153-53B4-4DAB-AF72-4127C17B1CA0@gmail.com> On Tue, May 12, 2009 at 06:06:05PM +0300, Esko Luontola wrote: > A good start for making Git cross-platform, would be storing the text > encoding of every file name and commit message together with the commit. > Currently, because Git is oblivious to the encodings and just considers > them as a series of bytes, there is no way to make them cross-platform. 1. Git already stores the endcoding for all commit messages that are not in UTF-8. 2. If you really want to be cross-platform portable, you should not use any characters in filenames outside of [A-Za-z0-9._-] (i.e. Portable Filename Character Set) http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap03.html#tag_03_276 Dmitry