From 8a8eaf37e0db4d7a6f81f1048bb65f430873c56a Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Wed, 3 Jun 2026 23:23:42 +0330 Subject: [PATCH] chore: never line-ending-convert cert files (.crt/.pem/.cer) Protects docker/nexus-mirror-ca.crt from CRLF corruption on Windows commits. Co-Authored-By: Claude Opus 4.8 --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..33c3d77 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Certificate files must never be line-ending converted (CRLF would corrupt +# trust-store parsing on Linux CI runners / Docker builds). +*.crt -text +*.pem -text +*.cer -text