add a .gitattributes to ensure proper line ending settings

This commit is contained in:
steveklabnik 2017-03-28 09:50:57 -04:00
parent 1632d2e339
commit 35e2807138
1 changed files with 4 additions and 0 deletions

4
.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
* text=auto eol=lf
*.rs rust