From 6ca88a4df74c095dac919efae6f74190fc44999b Mon Sep 17 00:00:00 2001 From: Henning Westerholt Date: Mon, 9 Sep 2019 21:29:18 +0200 Subject: [PATCH] git: add .gitattributes file to normalize line endings for new added text files --- .gitattributes | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..4b13bce0f97 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,31 @@ +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +# +# scripts +*.sh text +*.py text +*.pl text +# source code +*.c text +*.h text +*.cpp +# documentation +*.xml text +*.xsl text +*.xslt text +README text +Changelog text +*.md text +# build and packaging +Makefile* text +*.init text +*.service text +*.spec text +*.sysconfig text +*.default text +*.tmpfiles text +*.lintian-overrides text +*.in text +changelog text +control text +copyright text