Florian Klaempfl
Wed, 08 Apr 2009 05:12:50 -0700
Graeme Geldenhuys schrieb: > On Tue, Apr 7, 2009 at 8:46 PM, Florian Klaempfl <flor...@freepascal.org> > wrote: >> I know, but I don't want some crappy algorithm to guess if linefeed >> conversion is needed or not, this feels so cvs like *g* > > In that case, all you would need is an editor that supports Unix line > endings and not try and convert them to crlf as you edit the file -
Oh, maybe at the end I should switch to linux to use git ;) ? > then everything would work fine, even if autocrlf=False under Windows. Windows uses #10#13 as newline marker, period. A program which cannot handle this well (and svn shows that it is perfectly possible) is simply crap and is not suitable for windows development. > So Windows NotePad is NOT an option. ;-) > The 'syn' editor which is based on the original TSynEdit component > works perfectly. > > Did you know that crlf conversion occurs in SVN as well. Of course and we use this feature. > Hence the > 'eol-style' property in SubVersion. Git tries to auto detect text > files and ONLY applies the crlf conversion on those. And that's what sucks: *auto detection* :) >fpGUI repository > should not contain any binary files other than images, and they work > correctly even with 'autocrlf=True'. And if a binary file is detected > incorrectly as a text file, you can tell git about it using > .gitattributes file. How can I prevent that I forget this? _______________________________________________ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-other