From 67a1fb88164b49d7a9a7cead891aae90231939b5 Mon Sep 17 00:00:00 2001 From: Mattias Karlsson Date: Thu, 15 Oct 2020 22:26:05 +0200 Subject: [PATCH] (GH-2887) Enforce bash scrips LF line endings * fixes #2887 If already cloned repo endings can be fixed by executing 1. git rm --cached -r . 2. git reset --hard --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index a1e1e97ac2..4cfbb10890 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,6 +2,7 @@ # Set default behavior to automatically normalize line endings. ############################################################################### * text=auto +*.sh text eol=lf ############################################################################### # Set default behavior for command prompt diff.