From 145ea15be30c97ab572da0857787108ae598ac6f Mon Sep 17 00:00:00 2001 From: zstadler Date: Mon, 7 Nov 2022 01:08:26 +0200 Subject: [PATCH] Add .gitattribute (#637) Lines in `.sh` scripts must always end with `lf`, even in Windows' git shell --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..210d79d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# behavior for Unix scripts +# +# Unix scripts are treated as binary by default. +############################################################################### +*.sh eol=lf