grafX2/.gitattributes
Thomas Bernard 2aa48bd00e
RTF have local line endings
commit 3fa8c98c17b01246c3d39acbeedf4b3db4de6654
changed line ending for doc/quickstart.rtf

My git then went havoc ;)  I have done some investigations
and it looks like the good practice is to use the local
line endings for RTF files and just have
*.rtf           diff=astextplain
in the .gitattributes file
2021-04-04 13:13:04 +02:00

31 lines
716 B
Plaintext

# 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
*.h text
*.txt text
*.py text
*.pl text
*.lua text
*.nsi text
*.ini text
# RTF files produced by LibreOffice on FreeBSD/linux have LF line endings
*.rtf diff=astextplain
# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf
*.msi text eol=crlf
*.vbs text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.gif binary
*.bmp binary
*.dll binary
*.xls binary
*.ico binary