From 692efae43ef1d7a441f4779779301fdbe763c689 Mon Sep 17 00:00:00 2001 From: Adrien Pyke Date: Fri, 22 Jun 2018 17:35:20 -0400 Subject: [PATCH 1/4] Force unix line endings --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2753dae --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Force unix line endings for bashrc +*.bashrc text eol=lf From ae51fd4e8edc8ae1bd0f63fc4bc62f061cf4398a Mon Sep 17 00:00:00 2001 From: Adrien Pyke Date: Fri, 22 Jun 2018 17:37:40 -0400 Subject: [PATCH 2/4] Create .editorconfig --- .editorconfig | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..332ef2b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,2 @@ +[*.bashrc] +end_of_line = lf From ad5ce9c299bb8b0a9701a84962d8e4e36c74cd55 Mon Sep 17 00:00:00 2001 From: Adrien Pyke Date: Fri, 22 Jun 2018 17:46:22 -0400 Subject: [PATCH 3/4] testing to see if this works --- .gitattributes | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index 2753dae..fcadb2c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1 @@ -# Auto detect text files and perform LF normalization -* text=auto - -# Force unix line endings for bashrc -*.bashrc text eol=lf +* text eol=lf From 619219a8212e7e323455f7bac30c041e6796c8e6 Mon Sep 17 00:00:00 2001 From: Adrien Pyke Date: Fri, 22 Jun 2018 17:48:35 -0400 Subject: [PATCH 4/4] convert line endings on all files --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 332ef2b..270106b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,2 +1,2 @@ -[*.bashrc] +[*] end_of_line = lf