From: Xiaofan C. <xia...@gm...> - 2010-12-06 09:29:16
|
On Mon, Dec 6, 2010 at 5:00 PM, Peter Stuge <pe...@st...> wrote: > Cygwin is *NOT* Windows. So using a Windows tool such as TortoiseGit > or msysGit to check out something that will be used Cygwin is not > correct, should not be expected to work, and must not be optimized > for. Make sure to use a Cygwin tool for Cygwin testing. I guess LF > may be the native line ending in Cygwin, which would explain why > Xiaofan never has problems with line endings. > I just use whatever default Cygwin git is using and I have no issues with all the git trees I use. But I tried to use MSysGit for once and it gave me all kinds of problems so that I did not use it. Take note I sometimes copy git repos between Linux/Windows. On the other hand, so you expect Pete to use MSysGit for MinGW/MSVC/WDK testing and use Cygwin Git for Cygwin testing. I am not so sure if he would like to do that. To me, it is better not to let the tool be too smart and convert things automatically. Rather do not touch the line endings. If something breaks, blame those who use stupid editors to stupid tools. -- Xiaofan |