2017-10-09 16:31:21 +00:00
|
|
|
# See https://git-scm.com/docs/gitattributes
|
|
|
|
# See https://help.github.com/articles/dealing-with-line-endings/
|
|
|
|
|
2018-02-23 20:26:08 +00:00
|
|
|
# Default behavior, if core.autocrlf is unset.
|
2017-10-09 16:31:21 +00:00
|
|
|
* text=auto
|
|
|
|
|
2018-02-23 20:26:08 +00:00
|
|
|
# Files to be converted to native line endings on checkout.
|
2020-05-04 17:29:45 +00:00
|
|
|
*.c text
|
2017-10-09 16:31:21 +00:00
|
|
|
*.cpp text
|
|
|
|
*.h text
|
|
|
|
|
2018-02-23 20:26:08 +00:00
|
|
|
# Text files to always have CRLF (dos) line endings on checkout.
|
2017-10-09 16:31:21 +00:00
|
|
|
*.bat text eol=crlf
|
|
|
|
|
2018-02-23 20:26:08 +00:00
|
|
|
# Text files to always have LF (unix) line endings on checkout.
|
|
|
|
*.sh text eol=lf
|
2017-10-09 16:31:21 +00:00
|
|
|
|
2020-05-04 17:29:45 +00:00
|
|
|
# Generated source files will always have LF (unix) line endings on checkout.
|
|
|
|
loader/generated/*.c text eol=lf
|
|
|
|
loader/generated/*.h text eol=lf
|