.gitattributes 665 B

12345678910111213141516171819202122
  1. # Properly detect languages on Github
  2. *.h linguist-language=cpp
  3. *.inc linguist-language=cpp
  4. thirdparty/* linguist-vendored
  5. # Normalize EOL for all files that Git considers text files
  6. * text=auto eol=lf
  7. # Except for bat files, which are Windows only files
  8. *.bat eol=crlf
  9. # And some test files where the EOL matters
  10. *.test.txt -text
  11. # And also the templates for Visual Studio files, which VS will always force CRLF on
  12. /misc/msvs/*.template eol=crlf
  13. # The above only works properly for Git 2.10+, so for older versions
  14. # we need to manually list the binary files we don't want modified.
  15. *.icns binary
  16. *.ico binary
  17. *.jar binary
  18. *.png binary
  19. *.ttf binary
  20. *.tza binary