.gitattributes 607 B

123456789101112131415161718192021222324
  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 Windows-only / Visual Studio files
  8. *.bat eol=crlf
  9. *.sln eol=crlf
  10. *.csproj eol=crlf
  11. misc/msvs/*.template eol=crlf
  12. # And some test files where the EOL matters
  13. *.test.txt -text
  14. # The above only works properly for Git 2.10+, so for older versions
  15. # we need to manually list the binary files we don't want modified.
  16. *.icns binary
  17. *.ico binary
  18. *.jar binary
  19. *.png binary
  20. *.ttf binary
  21. *.tza binary