summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..48e1da4
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,22 @@
+# Auto detect text files and perform LF normalization
+* text eol=lf
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.asm text
+*.txt text
+*.md text
+*.py text
+*.c text
+*.h text
+*.sh text
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary diff=hex
+*.xor binary diff=hex
+*.tilemap binary diff=hex
+*.attrmap binary diff=hex
+*.tilemap_attrmap binary diff=hex
+
+# these are generated but just in case
+*.bin binary diff=hex