Files
oak-editor/.gitattributes
T
Mike-Solar 9aab5623bf 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.
2026-08-21 17:49:11 +08:00

14 lines
346 B
Plaintext

# Default behavior
* text=auto
# Enforce LF line endings on source files
*.h text eol=lf
*.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