Hmmm, now that I think about it I did have one committed and it was causing
me problems so I rebased it out.

Currently my core.autocrlf setting is unset which allowed things to just
work, however it isn't a solution.

Once we get through the current open PRs I think we just need to bite the
bullet and do the right thing and normalise the git object db, I've had no
problems with repos working that way.

On Tue, Jun 30, 2015 at 2:22 AM, Hari Menon <harida...@gmail.com> wrote:

> Sounds good - then we might not have anything more to add to the current
> version of the '.editorconfig' file.
>
> Jono - could you have inadvertently removed the '.gitattributes' file
> before committing?
>
> On Monday, June 29, 2015 at 6:45:09 AM UTC-4, Oskar Berggren wrote:
>
>>
>>
>> 2015-06-29 4:26 GMT+01:00 Jonathon Rossi <jo...@jonorossi.com>:
>>
>>>
>>> Personally I think Git should manage line endings and not editorconfig,
>>> unless we are going with LF in all files on all platforms. I think VS still
>>> rewrites certain files with CRLF even if they only had LFs, IIRC solution
>>> files and generated cs files like Resources.Designer.cs.
>>>
>>>
>> Having dealt the line-ending setup for the NHibernate project etc. it's
>> my experiance also that Visual Studio cannot be trusted. While its editor
>> appears to detect and respect consistent line endings of a certain type,
>> this seems to be unreliable. The issue might be that certain plugins (e.g.
>> Resharper) might insert CRLF even if the file is otherwise LF. In
>> NHibernate we eventually settled on having GIT normalize to LF in repo and
>> native on checkout.
>>
>> /Oskar
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to castle-project-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to castle-project-devel@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/castle-project-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jono

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to castle-project-devel+unsubscr...@googlegroups.com.
To post to this group, send email to castle-project-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to