Sfoglia il codice sorgente

chore: pin generated files to LF to avoid phantom CRLF diffs on Windows

MHSanaei 12 ore fa
parent
commit
0711d3077b
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      .gitattributes

+ 5 - 0
.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