aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-02-10 15:00:40 +0100
committerJason Zaugg <jzaugg@gmail.com>2013-02-10 15:10:31 +0100
commit4eb61cd80ff04ac24b2826193eb0b535de864cd3 (patch)
tree92f2304de97f1610a0ea0cc354b340a3a411e4b6 /.gitattributes
parent0280306d7fb9e78a57f5e1c4848bfbbbba3847d9 (diff)
downloaddotty-4eb61cd80ff04ac24b2826193eb0b535de864cd3.tar.gz
dotty-4eb61cd80ff04ac24b2826193eb0b535de864cd3.tar.bz2
dotty-4eb61cd80ff04ac24b2826193eb0b535de864cd3.zip
Add .gitattributes for CRLF avoidance
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes26
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..d9d8b125c
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,26 @@
+# These files are text and should be normalized (convert crlf => lf)
+*.c text
+*.check text
+*.css text
+*.html text
+*.java text
+*.js text
+*.sbt text
+*.scala text
+*.sh text
+*.txt text
+*.xml text
+
+# Windows-specific files get windows endings
+*.bat eol=crlf
+*.cmd eol=crlf
+*-windows.tmpl eol=crlf
+
+# Some binary file types for completeness
+# (binary is a macro for -text -diff)
+*.dll binary
+*.gif binary
+*.jpg binary
+*.png binary
+*.class binary
+*.jar binary \ No newline at end of file