SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Force line endings

Open jdarwood007 opened this issue 14 years ago • 7 comments

Since this has popped up a few times with some of the contributors, we need to investigate setting this up.

https://help.github.com/articles/dealing-with-line-endings

This seems simple to setup, we simply add the .gitattributes file with the attributes they mention in the document to force line endings to be correct.

jdarwood007 avatar Aug 01 '12 20:08 jdarwood007

Ohh...now I got it! The first time I read it very quickly and didn't pay attention to the "details", so I didn't understand what it was about, but that's indeed wonderful! :D

emanuele45 avatar Aug 01 '12 20:08 emanuele45

Yes it will be wonderful, it will help ensure that contributors code is sent using the proper line endings. Which ensures a proper diff file.

jdarwood007 avatar Aug 02 '12 00:08 jdarwood007

Just to note. All repos should do this, if it isn't already.

norv avatar Oct 21 '12 17:10 norv

Can we pull this? Should still merge because it creates a new git file.

jdarwood007 avatar Aug 11 '13 18:08 jdarwood007

Go for it

Oldiesmann avatar Aug 15 '13 04:08 Oldiesmann

Does this need pulling or closing? I've been told separately that the repo does force line endings already...

Arantor avatar Sep 27 '13 16:09 Arantor

It doesn't hurt to add this so I went ahead and cherrypicked his commit to be able to pull it.

MissAllSunday avatar Sep 27 '13 23:09 MissAllSunday