mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-13 15:09:07 +00:00
Git: no line-ending conversion for any file, so Windows checkouts keep asset hashes
Windows runners check out with core.autocrlf=true, which turned the SVG icons' LF into CRLF, so their SHA-256 no longer matched ATTRIBUTION.toml and xtask's the_real_manifest_passes failed there (hidden until now behind the perf-test failure, since cargo test stops at the first failing binary). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9ecfd0afbc
commit
1ca576309e
1 file changed
+9
-3
+9
-3
@@ -1,9 +1,15 @@
|
||||
# Byte-exact fixtures and assets: never convert line endings (Windows checkouts use
|
||||
# core.autocrlf=true, which changes the signed bytes of a PDF and breaks its signature).
|
||||
# Every checkout is byte-identical to the repository: no line-ending conversion, ever.
|
||||
# Windows checkouts default to core.autocrlf=true, which rewrote signed PDFs (breaking their
|
||||
# signatures) and assets whose SHA-256 ATTRIBUTION.toml records (cargo xtask assets).
|
||||
* -text
|
||||
|
||||
# Not text at all: no textual diffs or merges either.
|
||||
*.pdf binary
|
||||
*.p12 binary
|
||||
*.pem -text
|
||||
*.pfb binary
|
||||
*.ttf binary
|
||||
*.icc binary
|
||||
*.icns binary
|
||||
*.ico binary
|
||||
*.png binary
|
||||
*.brotli binary
|
||||
Reference in new issue
Block a user