Files
Craftimizer/.gitattributes
T
JonKazama-Hellion c7917afd67 Add LF override for shell scripts in .gitattributes
Upstream defaults all text files to CRLF (Windows-only dev). On Linux,
bash refuses to execute shell scripts with CRLF line endings, which
blocked the v0.1.0 pre-push hook with 'env: »bash\r«: nicht gefunden'.

Override the default for *.sh, .githooks/*, and scripts/* to eol=lf
so the hook + preflight runs cleanly on both Linux and Windows.
2026-05-26 20:24:02 +02:00

14 lines
517 B
Plaintext

# Asriel's upstream default: CRLF for text files (Windows-only dev workflow).
# Kept intact to minimise the diff against upstream Craftimizer.
* text eol=crlf
# Hellion Forge override: shell scripts and git hooks MUST be LF only,
# otherwise bash on Linux refuses to execute them with
# "env: »bash\r«: Datei nicht gefunden". This blocked the v0.1.0 release
# pipeline push on Linux before .gitattributes was extended.
*.sh text eol=lf
.githooks/* text eol=lf
scripts/* text eol=lf
*.png binary