From 913256e241b9a9df6a398fa136b934b7e525589c Mon Sep 17 00:00:00 2001 From: Hitonabi Date: Mon, 13 Jul 2026 22:27:27 +0200 Subject: [PATCH] gitattributes: agent-hooks/*.py auf LF pinnen (Shebang-Falle) 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 --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index b63161c..619520b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,6 +7,10 @@ *.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