From 1b094a85a8fc54377b5af8c0dc9ab2e79f9c8b20 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 14 Sep 2020 11:55:26 -0400 Subject: Specify text and binary files --- .gitattributes | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitattributes 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 -- cgit v1.2.3