From 06ec39cc721e7cd28ece27db199a30e402451634 Mon Sep 17 00:00:00 2001 From: Henrik Ekblad Date: Tue, 4 Mar 2014 16:31:15 +0100 Subject: [PATCH] Adding git attributes for handling lineendings --- .gitattributes | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4635737 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,17 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.cpp text +*.h text +*.ino text +*.xml text +*.lua text + + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary +*.gif binary