Add .gitattribute

Lines in `.sh` scripts must always end with `lf`,
even in Windows' git shell
This commit is contained in:
zstadler 2022-11-06 15:03:23 +02:00
parent 1243405807
commit 77f29c2d96

11
.gitattributes vendored Normal file
View file

@ -0,0 +1,11 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# behavior for Unix scripts
#
# Unix scripts are treated as binary by default.
###############################################################################
*.sh eol=lf