line feeds causing trouble on windows

This commit is contained in:
Martin Diehl 2016-03-20 23:30:03 +01:00
parent 28259b2c46
commit 8526d2f495
1 changed files with 8 additions and 0 deletions

8
code/.gitattributes vendored Normal file
View File

@ -0,0 +1,8 @@
# from https://help.github.com/articles/dealing-with-line-endings/
#
# always use LF, even if the files are edited on windows, they need to be compiled/used on unix
* text eol=lf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary