Merge branch '23-shell-scripts-fail-on-windows-because-of-wrong-line-endings' into...
authorMichael Winsauer <e1429715@student.tuwien.ac.at>
Sun, 25 Nov 2018 23:23:06 +0000 (00:23 +0100)
committerMichael Winsauer <e1429715@student.tuwien.ac.at>
Sun, 25 Nov 2018 23:23:06 +0000 (00:23 +0100)
Resolve "Shell scripts fail on Windows because of wrong line endings"

Closes #23

See merge request aic18/G6T4!25

.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..5e014fe
--- /dev/null
@@ -0,0 +1,6 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Declare files that will always have LF line endings on checkout
+*.sh text eol=lf
+mvnw text eol=lf