mirror of
https://github.com/horizon-rust/horizon-mixins.git
synced 2026-11-07 10:05:58 -10:00
Check out text files with LF on every platform
With Git for Windows' default core.autocrlf=true, fixtures and snapshots check out with CRLF and the snapshot tests fail. A .gitattributes with `* text=auto eol=lf` keeps LF in the working tree everywhere. Every committed text file is already LF, so nothing needs renormalizing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
fb60016211
commit
b93a2cfda7
1 file changed
+4
@@ -0,0 +1,4 @@
|
||||
# Check out text files with LF on every platform: the snapshot tests compare
|
||||
# generated output byte for byte against committed fixtures and snapshots,
|
||||
# which fail under core.autocrlf=true (Git for Windows' default) with CRLF.
|
||||
* text=auto eol=lf
|
||||
Reference in new issue
Block a user