From e6abc5fedc730173deb4524504126568f95cc931 Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 23 May 2023 16:12:11 +0200 Subject: [PATCH 1/2] Try to fix the line ending problem ... at github when using the browser for a PR. It seems that the web interface inserts an additional CR and doesn't stick to the LF line endings. Not sure it helps though. It can't hurt though. --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..382fdf9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +.*sh eol=lf +.*md eol=lf +*.html eol=lf +*.txt eol=lf +*.txt eol=lf +*.1 eol=lf +*.t eol=lf +Dockerfile* eol=lf +*.csvfile eol=lf From 33211c0cf166094f2d4b21ce4335215bb675ae14 Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 23 May 2023 16:18:42 +0200 Subject: [PATCH 2/2] add file types to be interpreted w lf line endings --- .gitattributes | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 382fdf9..a9646a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,11 @@ -.*sh eol=lf -.*md eol=lf +*.sh eol=lf +*.bash eol=lf +*.md eol=lf *.html eol=lf *.txt eol=lf *.txt eol=lf *.1 eol=lf *.t eol=lf +*.yml eol=lf Dockerfile* eol=lf *.csvfile eol=lf