Add .gitattributes: *.sh text eol=lf for Windows clones (#19) #21

Merged
pbwraith merged 1 commits from issue-19 into main 2026-08-26 08:45:15 +02:00

7
.gitattributes vendored Normal file
View File

@ -0,0 +1,7 @@
# Force LF line endings for shell scripts.
# Without this, Windows clones (git's core.autocrlf=true default) check out
# CRLF and the shebang dies with: /usr/bin/env: 'bash\r': No such file or directory (exit 127)
# Keep every *.sh blob byte-clean; existing clones need a forced re-checkout
# (rm -f .git/index && git reset --hard HEAD) because git does not rewrite a
# file whose blob is unchanged.
*.sh text eol=lf