Permalink
Browse files

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
  • Loading branch information...
cgdecker committed Nov 4, 2014
1 parent 36faf58 commit 00b05b0989a2612e950536feb3f19b25f58018ef
Showing with 15 additions and 1 deletion.
  1. +14 −0 .gitattributes
  2. +1 −1 .gitignore
View
@@ -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
View
@@ -14,4 +14,4 @@ out/
.classpath
.project
.settings/
-.metadata/
+.metadata/

0 comments on commit 00b05b0

Please sign in to comment.