diff options
| author | Damien George | 2015-04-16 22:19:50 +0100 |
|---|---|---|
| committer | Damien George | 2015-04-16 22:23:56 +0100 |
| commit | feff00e1a58aad4e7251d9c10403768fa814c5dd (patch) | |
| tree | 7e5b754bc8dd0bc4382daf647f552a03b6325988 /.gitattributes | |
| parent | a102e01ce1fc33c857da3a1f2553e40c49d2a6a2 (diff) | |
Add .gitattributes file to force text line endings to LF.
Some files are excluded, otherwise a whole lot of files need converting.
Diffstat (limited to '.gitattributes')
| -rw-r--r-- | .gitattributes | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..85bc6fdb8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,31 @@ +# Per default everything gets normalized and gets LF line endings on checkout. +* text eol=lf + +# These will always have CRLF line endings on checkout. +*.vcxproj text eol=crlf +*.props text eol=crlf +*.bat text eol=crlf + +# These are binary so should never be modified by git. +*.png binary +*.jpg binary +*.dxf binary + +# These should also not be modified by git. +tests/basics/string_cr_conversion.py -text +tests/basics/string_crlf_conversion.py -text +stmhal/startup_stm32f40xx.s -text +stmhal/pybcdc.inf_template -text +stmhal/usbd_* -text +stmhal/boards/*/stm32f4xx_hal_conf.h -text +stmhal/cmsis/** -text +stmhal/hal/** -text +stmhal/usbdev/** -text +stmhal/usbhost/** -text +cc3200/hal/aes.c -text +cc3200/hal/aes.h -text +cc3200/hal/des.c -text +cc3200/hal/i2s.c -text +cc3200/hal/i2s.h -text +cc3200/version.h -text +lib/fatfs/** -text |
