From c8eaa88dec6be3a62ca362bb9230990faa33e9e0 Mon Sep 17 00:00:00 2001 From: Joachim Krech Date: Fri, 1 Jul 2016 15:34:23 +0200 Subject: [PATCH] adding repository .gitattributes file to handle line endings across OSes. --- .gitattributes | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..53544b2335 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +# 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 +*.txt text +*.xsd text +*.pdsc text +*.svd text +*.bat text + +# Declare files that will always have CRLF line endings on checkout. +*.uvproj text eol=crlf +*.uvproj text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary +*.a binary +*.lib binary +*.exe binary \ No newline at end of file