A Windows checkout (autocrlf) has CRLF in LICENSE, and the bundle verify required the file to start with b'MIT License\n'. Normalize line endings before the check, pin the file to LF, and test a CRLF member.
16 lines
599 B
Plaintext
16 lines
599 B
Plaintext
# Frozen prompts are hashed byte for byte (manifest sha256): never convert their line endings.
|
|
bench/prompts/** -text
|
|
|
|
# launchers keep their platform line endings wherever the repository is cloned
|
|
*.sh text eol=lf
|
|
*.bat text eol=crlf
|
|
|
|
# copies of real packs' native_experts.txt, parsed byte for byte by tests/core/expert_layout_test.cpp
|
|
tests/data/native_experts/** -text
|
|
|
|
# the quant yardstick's text set: tokenized byte for byte (set.ids.json), never convert its line endings
|
|
data/quant_quality/** -text
|
|
|
|
# the license text is shipped and checked as LF text on every checkout
|
|
LICENSE text eol=lf
|