repo: Add .gitattributes file

Every git repo should have a .gitattributes file.

Change-Id: I351b5ab5b5d089ffc96b2a211a2e39ddda5cc397
This commit is contained in:
Mike Weiblen 2018-07-04 15:23:41 -06:00
parent db09f95ac0
commit d8daf1785c

16
.gitattributes vendored Normal file
View file

@ -0,0 +1,16 @@
# See https://git-scm.com/docs/gitattributes
# See https://help.github.com/articles/dealing-with-line-endings/
# Default behavior, if core.autocrlf is unset.
* text=auto
# Files to be converted to native line endings on checkout.
*.cpp text
*.h text
# Text files to always have CRLF (dos) line endings on checkout.
*.bat text eol=crlf
# Text files to always have LF (unix) line endings on checkout.
*.sh text eol=lf