From: Xiaofan C. <xia...@gm...> - 2010-12-07 13:07:07
|
On Tue, Dec 7, 2010 at 8:39 PM, Michael Plante <mic...@gm...> wrote: > Pete Batard wrote: > The eol=lf for .sh/.ac is a completely separate issue, and one that I think > only Segher and Xiaofan think doesn't need to be solved. Pete seems to > prefer -text, and everyone else, eol=lf. > > But eol=lf is motivated by a bug in autotools and bash, rather than by > convenience. The crlf snapshot thing is motivated by ease of use. > I maintain my opinion that this is not a bug of autotools and bash. They are designed to follow the Unix convention so that they will not work with CRLF. However I was under the impression that nobody in the right mind should set autocrlf=true for cross-platform project (it is certainly fine for Windows only project). But I could be wrong as the popular Github seems to recommend it. Very surprising! http://help.github.com/dealing-with-lineendings/ On the other hand, I think MSysGit's default installer option of autocrlf=true is controversial based on their mailing list. Even the wiki use "much-hated" when it says that "There has been work to choose something different than the much-hated autoCRLF=true option during install: there are options for autoCRLF=false and autoCRLF=input together with explanations, with the latest installers." https://git.wiki.kernel.org/index.php/MSysGit:MSysGitHerald9 Anyway, I am not a git expert and I do not have any problems with whatever you guys decided. I just hope I can continue to use Cygwin Git and the checked-out repo will work under both Cygwin and MinGW. I will not use MSysGit or other git GUIs. -- Xiaofan |