blob: cc5783f111bd045d46dec54cfc9b68af3791d77b [file] [log] [blame]
Joachim Krechc8eaa882016-07-01 15:34:23 +02001# Set the default behavior, in case people don't have core.autocrlf set.
2* text=auto
Joachim Krechc8eaa882016-07-01 15:34:23 +02003# Explicitly declare text files you want to always be normalized and converted
4# to native line endings on checkout.
5*.c text
Christophe Favergeond3551bf2019-09-26 08:48:51 +01006*.h binary
Joachim Krechc8eaa882016-07-01 15:34:23 +02007*.txt text
8*.xsd text
9*.pdsc text
10*.svd text
11*.bat text
Joachim Krechc8eaa882016-07-01 15:34:23 +020012# Declare files that will always have CRLF line endings on checkout.
13*.uvproj text eol=crlf
14*.uvproj text eol=crlf
Joachim Krechc8eaa882016-07-01 15:34:23 +020015# Denote all files that are truly binary and should not be modified.
16*.png binary
17*.jpg binary
Jonatan Antonidb079b82019-01-07 16:20:42 +010018*.a filter=lfs diff=lfs merge=lfs -text
19*.lib filter=lfs diff=lfs merge=lfs -text
Jonatan Antonidfaaca82019-01-08 11:52:01 +010020*.exe filter=lfs diff=lfs merge=lfs -text
Christophe Favergeond3551bf2019-09-26 08:48:51 +010021CMSIS/Utilities/Linux-gcc-*/* filter=lfs diff=lfs merge=lfs -text