quil-lang / qvm

The high-performance and featureful Quil simulator.
Other
411 stars 57 forks source link

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

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 https://github.com/quil-lang/quilc/pull/798.

Testing

Successfully built QVM on Windows.