Normalize line endings (#27)

* add .gitattributes

* normalize line endings
pull/25/merge
Hans-Erik Floryd 2017-08-18 17:01:54 +02:00 committed by nakarlsson
parent 39e2e116d0
commit 9d54476330
5 changed files with 128 additions and 109 deletions

19
.gitattributes vendored 100644
View File

@ -0,0 +1,19 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.cpp text
*.h text
*.S text
*.txt text
*.md text
# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf
# Denote all files that are truly binary and should not be modified.
*.lib binary
*.bin binary
*.png binary