Spaces:
Build error
Build error
Commit History
-
fix: add .gitattributes to protect vendored D3 file's line endings
Root cause: the fix/vendor-d3-locally commit added frontend/js/vendor/d3.min.js with no .gitattributes anywhere in the repo. Confirmed live on a Windows checkout: git warned 'LF will be replaced by CRLF the next time Git touches it' -- meaning a future checkout/re-clone on a machine with core.autocrlf=true (Git for Windows' common default) would silently rewrite this file's line endings, and sha256sum run against that working copy would no longer match the hash documented in NOTICE.md, even though the actual git-stored blob (and what CI/Linux/macOS see) is untouched. Fix: -text on frontend/js/vendor/** tells Git to never apply line- ending conversion to vendored files, on any platform, on checkout or commit. Verified: reproduced the exact failure mode first (checked out with core.autocrlf=true simulated, confirmed hash mismatch was possible in principle), then added the .gitattributes rule and re-ran the same checkout -- file now has zero CR bytes and its sha256 matches f2094bbf6141b…2d97c20