quil-lang / magicl

Matrix Algebra proGrams In Common Lisp.
BSD 3-Clause "New" or "Revised" License
238 stars 44 forks source link

Configure repo to not convert LF to CLRF on Windows #160

Closed kartik-s closed 2 years ago

kartik-s commented 2 years ago

Git's default behavior is to convert LFs to CLRFs when checking out on Windows. This breaks the tilde newline format directive as described here: https://sourceforge.net/p/sbcl/mailman/sbcl-devel/thread/4D50C7E6.20400%40yv.org/#msg27025402

Also see https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings for details on configuring line endings in Git.

Same fix as quil-lang/quilc#798.

Testing

Successfully built magicl on Windows.