913256e241
Ohne Regel wuerde autocrlf tabu-pfade-guard.py bei Checkout zu CRLF machen -> `#!/usr/bin/env python3\r` bricht auf der Box. Analog zur *.sh-LF-Regel. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
599 B
Plaintext
17 lines
599 B
Plaintext
# Shell-/Deploy-Skripte MÜSSEN LF behalten — sonst bricht der Deploy auf der Box
|
|
# (CRLF macht `set -euo pipefail` zu `pipefail\r` → "invalid option name").
|
|
*.sh text eol=lf
|
|
*.bash text eol=lf
|
|
|
|
# systemd-Units und Service-Configs ebenfalls LF.
|
|
*.service text eol=lf
|
|
*.timer text eol=lf
|
|
|
|
# Agent-Hooks laufen auf der Box (Shebang!) — .py-Hooks MÜSSEN LF behalten,
|
|
# sonst bricht `#!/usr/bin/env python3\r`. (Nur die Hooks, nicht der ganze Baum.)
|
|
deploy/agent-hooks/*.py text eol=lf
|
|
|
|
# Windows-Batch-Wrapper bleiben CRLF.
|
|
*.cmd text eol=crlf
|
|
*.bat text eol=crlf
|