> Pierre,
> 
> On Tue, Mar 27, 2012 at 5:43 PM, Stas Malyshev <smalys...@sugarcrm.com>wrote:
> 
> > Hi!
> >
> > >> Why would these change every 2nd commit? These only should change when
> > >> you change the scanner, which happens very rarely.
> > >
> > > It depends what you do, but still annoying when it happens.
> > >
> > > But that does not answer the question...
> >
> > Looking at the patch, it looks like yours and git's line endings did not
> > match, which may have caused the conflict.
> 
> 
> Stas is right.  Looks like the Windows CR line endings are causing it to
> puke on ya.  I'm assuming you're working in Windows, right?  What Git
> client are you using?
> 
> If you're using Msysgit, it automatically converts these line endings for
> you specifically to avoid this problem, but you have to select that option
> during the installation process when it prompts you.  I don't know if the
> setting can be changed after install; my guess would be it can, but I have

git config --global core.autocrlf true

Global option obviously makes this apply to all repoes, not sure how it
applies without it, as this is pretty much the only way to be able to
work interoperably with Visual Studio.

> no idea how.  The easiest thing to do would be to just re-run the Msysgit
> installer (if that's what you're using) and when prompted select the option
> to auto-convert line endings (i.e. I think the option is something along
> the lines of "Use Unix-Style line endings").
> 
> --Kris


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to