.gitattributes 523 B

123456789101112131415161718
  1. # test files have a mix of lf/crlf, and that's a good thing, for testing, don't mess with it
  2. # bash scripts need lines ending with lf, and that's correct for Windows too, e.g., under Cygwin
  3. # (scripts often don't have a suffix)
  4. * -text
  5. *.sh text eof=lf
  6. # txt files should be native and normalized
  7. *.txt text
  8. # source code can be native and normalized, but simpler if lf everywhere; will try that way
  9. *.h text eof=lf
  10. *.c text eof=lf
  11. *.cpp text eof=lf
  12. *.y text eof=lf
  13. *.out text eof=lf
  14. *.conf text eof=lf
  15. *.err text eof=lf