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 | d3551bf | 2019-09-26 08:48:51 +0100 | [diff] [blame] | 6 | *.h binary |
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 | db079b8 | 2019-01-07 16:20:42 +0100 | [diff] [blame] | 18 | *.a filter=lfs diff=lfs merge=lfs -text |
| 19 | *.lib filter=lfs diff=lfs merge=lfs -text |
Jonatan Antoni | dfaaca8 | 2019-01-08 11:52:01 +0100 | [diff] [blame] | 20 | *.exe filter=lfs diff=lfs merge=lfs -text |
Christophe Favergeon | d3551bf | 2019-09-26 08:48:51 +0100 | [diff] [blame] | 21 | CMSIS/Utilities/Linux-gcc-*/* filter=lfs diff=lfs merge=lfs -text |