From 00a8c8801cde2987982856915afe64ca9d78eae8 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Fri, 9 Jun 2023 20:10:04 +0200 Subject: [PATCH] Force Linux line endings for mvnw Cygwin on Windows refuses to execute files with CRLF line endings. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 5479295df22b6..62e1cbfdc99ce 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ # ./mvnw fails on Windows in git bash if -Xmx in that file has a trailing CRLF .mvn/jvm.config text eol=lf +mvnw text eol=lf *.xml text eol=lf *.java text diff=java eol=lf *.kt text diff=kotlin eol=lf