summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneobooru <50623835+neobooru@users.noreply.github.com>2022-05-02 12:57:35 +0200
committerneobooru <50623835+neobooru@users.noreply.github.com>2022-05-02 13:04:07 +0200
commit6075ae9326b95fa8c863ca80abca040c6e0d6561 (patch)
tree7bbf577555a9fec5ce98a0a324d0bb9dacb4136e
parent70f2164dc6c5d9950bb4279eb01ce5c7c33e80a7 (diff)
all: add .gitattributes
This forces shell scripts to always have LF line endings. By default Windows uses CRLF which breaks the docker build, because docker-start.sh doesn't have the correct line endings. Adding this file should fix that.
-rw-r--r--.gitattributes5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..48e3403
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,5 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Shell scripts require LF
+*.sh text eol=lf