aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2014-05-06 03:29:15 +0200
committerChristian Tismer <tismer@stackless.com>2014-05-06 03:29:15 +0200
commit1dd07274fe2d7732f0fb37bfd362366327931810 (patch)
tree7051b49624a5607512b52c4aac480b907e65a854 /.gitattributes
parent2117b8855ee1f7b413a78b76cd64bf65cc2da69f (diff)
make line endings universal
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..0848fedab
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,15 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.c text
+*.h text
+*.py text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.sln text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary \ No newline at end of file