Blame .gitattributes

rpm-build a7f80b
# This sets the default behaviour, overriding core.autocrlf
rpm-build a7f80b
* text=auto
rpm-build a7f80b
rpm-build a7f80b
# All source files should have unix line-endings in the repository,
rpm-build a7f80b
# but convert to native line-endings on checkout
rpm-build a7f80b
*.cpp text
rpm-build a7f80b
*.h text
rpm-build a7f80b
*.hpp text
rpm-build a7f80b
rpm-build a7f80b
# Windows specific files should retain windows line-endings
rpm-build a7f80b
*.sln text eol=crlf
rpm-build a7f80b
rpm-build a7f80b
# Keep executable scripts with LFs so they can be run after being
rpm-build a7f80b
# checked out on Windows
rpm-build a7f80b
*.py text eol=lf
rpm-build a7f80b
rpm-build a7f80b
rpm-build a7f80b
# Keep the single include header with LFs to make sure it is uploaded,
rpm-build a7f80b
# hashed etc with LF
rpm-build a7f80b
single_include/*.hpp eol=lf
rpm-build a7f80b
# Also keep the LICENCE file with LFs for the same reason
rpm-build a7f80b
LICENCE.txt eol=lf