Add a .gitattributes file to control line ending normalization, which is otherwise a mess that depends on each git client's settings. (See http://schacon.github.io/git/gitattributes.html and http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/ for more about that.)

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=79186519
This commit is contained in:
cgdecker 2014-11-04 12:40:22 -08:00 committed by Colin Decker
parent 36faf58a85
commit 00b05b0989
2 changed files with 15 additions and 1 deletions

14
.gitattributes vendored Normal file
View File

@ -0,0 +1,14 @@
# Auto detect text files and perform LF normalization
* text=auto
# Known text files
*.java text
*.xml text
*.yml text
*.md text
*.sh text
*.css text
*.txt text
# Known binary files
*.jar binary

2
.gitignore vendored
View File

@ -14,4 +14,4 @@ out/
.classpath
.project
.settings/
.metadata/
.metadata/