diff options
| author | neobooru <50623835+neobooru@users.noreply.github.com> | 2022-05-02 12:57:35 +0200 |
|---|---|---|
| committer | neobooru <50623835+neobooru@users.noreply.github.com> | 2022-05-02 13:04:07 +0200 |
| commit | 6075ae9326b95fa8c863ca80abca040c6e0d6561 (patch) | |
| tree | 7bbf577555a9fec5ce98a0a324d0bb9dacb4136e /.gitattributes | |
| parent | 70f2164dc6c5d9950bb4279eb01ce5c7c33e80a7 (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.
Diffstat (limited to '.gitattributes')
| -rw-r--r-- | .gitattributes | 5 |
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 |