Revision 4c20dc0cbb3b20d2afb9ee8595a39508f1066623 authored by Yong He on 06 September 2023, 18:06:50 UTC, committed by Yong He on 06 September 2023, 18:06:50 UTC
2 parent s 8c8c602 + fb2882a
Raw File
.gitattributes
# test files have a mix of lf/crlf, and that's a good thing, for testing, don't mess with it
# bash scripts need lines ending with lf, and that's correct for Windows too, e.g., under Cygwin
# (scripts often don't have a suffix)
* -text
*.sh text eof=lf

# txt files should be native and normalized
*.txt text

# source code can be native and normalized, but simpler if lf everywhere; will try that way
*.h text eol=lf
*.c text eol=lf
*.cpp text eol=lf
*.y text eol=lf
*.out text eol=lf
*.conf text eol=lf
*.err text eol=lf
back to top