git: add .gitattributes file to normalize line endings for new added text files

This commit is contained in:
Henning Westerholt 2019-09-09 21:29:18 +02:00
parent 162c32a329
commit 6ca88a4df7

31
.gitattributes vendored Normal file
View file

@ -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