Normalize line endings (#126)
* add .gitattributes * normalize line-endings
This commit is contained in:
parent
da7d55e893
commit
3daefaea61
|
@ -0,0 +1,17 @@
|
|||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
# Explicitly declare text files you want to always be normalized and converted
|
||||
# to native line endings on checkout.
|
||||
*.c text
|
||||
*.cpp text
|
||||
*.h text
|
||||
*.S text
|
||||
*.txt text
|
||||
*.md text
|
||||
|
||||
# Declare files that will always have LF line endings on checkout.
|
||||
*.sh text eol=lf
|
||||
|
||||
# Denote all files that are truly binary and should not be modified.
|
||||
*.lib binary
|
Loading…
Reference in New Issue