| 1 |
# Set default behaviour, in case users don't have core.autocrlf set. |
| 2 |
* text=auto |
| 3 |
|
| 4 |
# Explicitly declare text files we want to always be normalized and converted |
| 5 |
# to native line endings on checkout. |
| 6 |
*.c text |
| 7 |
*.cpp text |
| 8 |
*.cxx text |
| 9 |
*.h text |
| 10 |
*.java text |
| 11 |
*.stg text |
| 12 |
*.idl text |
| 13 |
|
| 14 |
# Declare files that will always have CRLF line endings on checkout. |
| 15 |
*.sln text eol=crlf |
| 16 |
*.vcxproj text eol=crlf |
| 17 |
*.vcxproj.filters text eol=crlf |
| 18 |
*.bat text eol=crlf |
| 19 |
|
| 20 |
# Denote all files that are truly binary and should not be modified. |
| 21 |
*.png binary |
| 22 |
*.jpg binary |
| 23 |
|
| 24 |
# To diff LibreOffice documents. |
| 25 |
# It is needed next configuration value: diff.odf.textconv=odt2txt |
| 26 |
*.ods diff=odf |
| 27 |
*.odt diff=odf |
| 28 |
*.odp diff=odf |