Browse files

Add .gitattributes file to force text line endings to LF.

Some files are excluded, otherwise a whole lot of files need converting.
  • Loading branch information...
1 parent a102e01 commit feff00e1a58aad4e7251d9c10403768fa814c5dd @dpgeorge dpgeorge committed Apr 16, 2015
Showing with 299 additions and 268 deletions.
  1. +31 −0 .gitattributes
  2. +242 −242 docs/make.bat
  3. +26 −26 windows/msvc/common.props
@@ -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/ -text
+tests/basics/ -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
Oops, something went wrong.

0 comments on commit feff00e

Please sign in to comment.