.gitattributes 613 B

1234567891011121314151617181920212223
  1. # This sets the default behaviour, overriding core.autocrlf
  2. * text=auto
  3. # All source files should have unix line-endings in the repository,
  4. # but convert to native line-endings on checkout
  5. *.cpp text
  6. *.h text
  7. *.hpp text
  8. # Windows specific files should retain windows line-endings
  9. *.sln text eol=crlf
  10. # Keep executable scripts with LFs so they can be run after being
  11. # checked out on Windows
  12. *.py text eol=lf
  13. # Keep the single include header with LFs to make sure it is uploaded,
  14. # hashed etc with LF
  15. single_include/**/*.hpp eol=lf
  16. # Also keep the LICENCE file with LFs for the same reason
  17. LICENCE.txt eol=lf