Graeme Geldenhuys
Wed, 08 Apr 2009 02:58:28 -0700
On Wed, Apr 8, 2009 at 11:48 AM, Tomas Hajny <xhaj...@mbox.vol.cz> wrote: >> > > In this context, any editor which doesn't use LF by default (e.g. for new > files) is not an option unless you require Unix users to use an editor > supporting CRLF as well or unless you never expect non-Unix users to > contribute to the project directly.
Well that shouldn't be a problem, because most unix editors I know or use adheres to whatever line ending is in the file. So if a Windows users commits a new file, my system should manage it just fine. But saying that, by default msysGit uses the Windows line ending style and committing a new file will then automatically be converted to a Unix line ending on the Git repository at SourceForge (they run unix servers there). Line endings for text files are handled correctly under Git by default, so I don't see the issue. SubVersion has the exact same problem, so it's not like Git is doing something stupid. Git has option for handling this issue and with a default install, the user doesn't need to do anything. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-other