Joachim Krech | c8eaa88 | 2016-07-01 15:34:23 +0200 | [diff] [blame] | 1 | # Set the default behavior, in case people don't have core.autocrlf set. |
| 2 | * text=auto |
Joachim Krech | c8eaa88 | 2016-07-01 15:34:23 +0200 | [diff] [blame] | 3 | # Explicitly declare text files you want to always be normalized and converted |
| 4 | # to native line endings on checkout. |
| 5 | *.c text |
Christophe Favergeon | b27a2d7 | 2019-09-27 08:36:59 +0200 | [diff] [blame] | 6 | *.h text |
Joachim Krech | c8eaa88 | 2016-07-01 15:34:23 +0200 | [diff] [blame] | 7 | *.txt text |
| 8 | *.xsd text |
| 9 | *.pdsc text |
| 10 | *.svd text |
| 11 | *.bat text |
Joachim Krech | c8eaa88 | 2016-07-01 15:34:23 +0200 | [diff] [blame] | 12 | # Declare files that will always have CRLF line endings on checkout. |
| 13 | *.uvproj text eol=crlf |
| 14 | *.uvproj text eol=crlf |
Joachim Krech | c8eaa88 | 2016-07-01 15:34:23 +0200 | [diff] [blame] | 15 | # Denote all files that are truly binary and should not be modified. |
| 16 | *.png binary |
| 17 | *.jpg binary |
Jonatan Antoni | 1b56529 | 2021-09-30 17:35:04 +0200 | [diff] [blame] | 18 | # Script files |
| 19 | *.py text eol=lf |
| 20 | *.sh text eol=lf |