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.
This commit is contained in:
neobooru 2022-05-02 12:57:35 +02:00
parent 70f2164dc6
commit 6075ae9326

5
.gitattributes vendored Normal file
View file

@ -0,0 +1,5 @@
# Auto detect text files and perform LF normalization
* text=auto
# Shell scripts require LF
*.sh text eol=lf