Skip to content

Commit 217f521

Browse files
committed
fix(quarto-citeproc): pin CSL lockfile and manifest to LF line endings
csl_validate_manifest byte-compares tests/csl_conformance.lock against a generated LF-only string. With core.autocrlf=true and no .gitattributes, Windows checkouts get CRLF for that file, producing a false "Lockfile mismatch" unrelated to any real enabled_tests.txt/fixture divergence. Pins tests/csl_conformance.lock and tests/enabled_tests.txt to eol=lf, same pattern crates/pampa/.gitattributes already uses for its fixtures. eol=lf overrides core.autocrlf for these paths in both directions, so regenerating the lockfile from Windows stays safe too.
1 parent 291e3da commit 217f521

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# The CSL conformance manifest lockfile is byte-compared against a
2+
# generated LF-only string in tests/integration/csl_conformance.rs
3+
# (build_lockfile()). Without this pin, core.autocrlf=true checks the
4+
# file out as CRLF on Windows, producing a false "Lockfile mismatch"
5+
# unrelated to any real enabled_tests.txt/fixture divergence.
6+
tests/csl_conformance.lock text eol=lf
7+
tests/enabled_tests.txt text eol=lf

0 commit comments

Comments
 (0)