From e17b2b0975235181d940e085f1fc519bc675b572 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Wed, 10 May 2017 09:13:54 -0700 Subject: [PATCH] Adding .gitattributes This ensures correct line endings for commits from all platforms. --- .gitattributes | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000000..31fda4bf1c86 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,25 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Always perform LF normalization on these files +*.dart text +*.gradle text +*.html text +*.java text +*.json text +*.md text +*.py text +*.sh text +*.txt text +*.xml text +*.yaml text + +# Make sure that these Windows files always have CRLF line endings in checkout +*.bat text eol=crlf +*.ps1 text eol=crlf + +# Never perform LF normalization on these files +*.ico binary +*.jar binary +*.png binary +*.zip binary