diff --git a/.gitattributes b/.gitattributes index ac7ac33..baa462d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ * text=auto eol=lf *.patch -text -eol +helpdesk-bot/mitigation.patch text eol=lf \ No newline at end of file diff --git a/tests/helpdesk/test_patch.py b/tests/helpdesk/test_patch.py index df0d2f2..b820608 100644 --- a/tests/helpdesk/test_patch.py +++ b/tests/helpdesk/test_patch.py @@ -54,6 +54,7 @@ def git(*args: str) -> subprocess.CompletedProcess[str]: ) git("init", "-q", "--initial-branch=main") + git("config", "core.autocrlf", "false") git("config", "user.email", "smoke@local") git("config", "user.name", "smoke") git("add", "helpdesk-bot/helpdesk_bot/agent.py")