summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorramaciotti_f <f.ramaciotti@dallara.it>2015-12-02 10:19:55 +0100
committerramaciotti_f <f.ramaciotti@dallara.it>2015-12-02 10:19:55 +0100
commit2d121fbb3d75711f7e5b06433c1c3f757802aea8 (patch)
tree2dd7471bacb647a686a66be973f0b2d9d18bf4bf
parentd4e36d24dea80134f00b8122962de6af4341f0fa (diff)
downloaddevil-2d121fbb3d75711f7e5b06433c1c3f757802aea8.tar.gz
Line endings handling
-rw-r--r--.gitattributes14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..fbf9358b
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,14 @@
+# 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
+
+# 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