From 12def6285833da6cd9b1b0a9ff0c4c480c7dc267 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 30 Dec 2020 16:48:53 +0800 Subject: [PATCH] gitattributes: add more types to attribute list Signed-off-by: Sean Cross --- .gitattributes | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/.gitattributes b/.gitattributes index 443fb9586..274645dec 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,21 +1,37 @@ + +# Various C code +*.h text eol=lf +*.c text eol=lf +*.s text eol=lf +*.S text eol=lf + +# Rust code +*.rs text eol=lf +*.toml text eol=lf +*.lock text eol=lf + +# Misc scripting files +Makefile text eol=lf +*.mk text eol=lf +*.sh text eol=lf +*.ps1 text eol=crlf *.py text eol=lf + +# Human-readable files +*.md eol=lf +README.* text eol=lf +LICENSE text eol=lf + +# Binary files *.dfu binary *.png binary *.jpg binary *.bin binary *.elf binary -*.h text eol=lf -*.c text eol=lf -*.s text eol=lf -*.S text eol=lf -*.rs text eol=lf -*.toml text eol=lf -*.lock text eol=lf -README.* text eol=lf -LICENSE text eol=lf -Makefile text eol=lf -*.mk text eol=lf -*.sh text eol=lf -*.ps1 text eol=crlf + +# Git configuration files .gitignore text eol=lf .gitattributes text eol=lf + +# System description files +*.svd eol=lf