Skip to content

Commit

Permalink
git: add .gitattributes file to normalize line endings for new added …
Browse files Browse the repository at this point in the history
…text files
  • Loading branch information
henningw committed Sep 9, 2019
1 parent 162c32a commit 6ca88a4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6ca88a4

Please sign in to comment.