From 0711d3077b7c4b3d9776ed01cbc4bdaf28ed0e6c Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Thu, 11 Jun 2026 23:41:01 +0200 Subject: [PATCH] chore: pin generated files to LF to avoid phantom CRLF diffs on Windows --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitattributes b/.gitattributes index 4ad6b8bf9..cd2f2f8f7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,3 +3,8 @@ *.sh text eol=lf DockerInit.sh text eol=lf DockerEntrypoint.sh text eol=lf + +# Generated files (regenerated from Go) must stay LF so a Windows regen +# with core.autocrlf=true doesn't show phantom CRLF-only "modified" diffs. +frontend/src/generated/** text eol=lf +frontend/public/openapi.json text eol=lf