gitattributes: keep LF in golden/test data files on Windows

The oakotio parity tests byte-compare serialized JSON against the
tests/data goldens; with only `* text=auto`, a Windows checkout hands
out CRLF and every round-trip assertion fails on the line endings
alone. Pin *.json and *.ove (XML) to eol=lf.
This commit is contained in:
2026-08-21 17:49:11 +08:00
parent 7323a6d2be
commit 9aab5623bf
+5
View File
@@ -6,3 +6,8 @@
*.cpp text eol=lf
*.sh text eol=lf
*.desktop text eol=lf
# Golden/project data files are byte-compared by tests — keep LF on
# Windows checkouts too (text=auto would hand out CRLF there).
*.json text eol=lf
*.ove text eol=lf