Files
UniXNU/.gitattributes
Sharky Wang 4223081cfc fix(catalog): handle whitespace in imported device records
The device sync reached its commit step after scanning 1052 repositories,
but git diff --check rejected whitespace from valid upstream TOML records
and rendered prose. Preserve source snapshots with a path-specific
whitespace attribute and trim trailing whitespace from Markdown text.

Verified with the actual alioth source record and the failing prose line:
the staged diff check passes after the change, English and Chinese records
render, and whitespace errors in generated Markdown remain rejected.
2026-11-10 22:16:27 +08:00

19 lines
325 B
Plaintext

* text=auto eol=lf
*.sh text eol=lf
*.py text eol=lf
*.c text eol=lf
*.cpp text eol=lf
*.h text eol=lf
*.mm text eol=lf
*.rs text eol=lf
*.json text eol=lf
*.patch text eol=lf -whitespace
docs/.vitepress/device-records/*.toml -whitespace
*.png binary
*.jpg binary
*.efi binary
*.dtb binary
*.bin binary
*.a binary
*.o binary