From 986528fa71b271a4d2f7139e5b71afcf29f6574a Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 9 Apr 2019 09:15:18 -0700 Subject: [PATCH] gitattributes: default to LF 1. Default to LF line endings. Windows users should use a real text editor when coding. 2. Allow markdown/license files to be autoconverted so they're readable everywhere. fixes #6195 License: MIT Signed-off-by: Steven Allen --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitattributes b/.gitattributes index a6bcaf8ce..ee4d109ca 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,10 @@ +# Default to text +* text eol=lf + +# True text +*.md text eol=auto +LICENSE text eol=auto + +# Binary assets assets/init-doc/* binary core/coreunix/test_data/** binary