.gitattributes 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. .gitattributes export-ignore
  2. .hooks* export-ignore
  3. # Custom attribute to mark sources as using our C code style.
  4. [attr]our-c-style whitespace=tab-in-indent format.clang-format
  5. # Custom attribute to mark sources as generated.
  6. # Do not perform whitespace checks. Do not format.
  7. [attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format
  8. bootstrap eol=lf
  9. configure eol=lf
  10. *.[1-9] eol=lf
  11. *.sh eol=lf
  12. *.sh.in eol=lf
  13. *.bat eol=crlf
  14. *.bat.in eol=crlf
  15. *.sln eol=crlf
  16. *.vcproj eol=crlf
  17. *.pfx -text
  18. *.png -text
  19. *.c our-c-style
  20. *.cc our-c-style
  21. *.cpp our-c-style
  22. *.cu our-c-style
  23. *.cxx our-c-style
  24. *.h our-c-style
  25. *.hh our-c-style
  26. *.hpp our-c-style
  27. *.hxx our-c-style
  28. *.notcu our-c-style
  29. *.cmake whitespace=tab-in-indent
  30. *.rst whitespace=tab-in-indent conflict-marker-size=79
  31. *.txt whitespace=tab-in-indent