sirocco-rt / sirocco

This is the repository for Sirocco, the radiative transfer code used to winds in AGN and other syatems
GNU General Public License v3.0
27 stars 24 forks source link

Add `.gitattributes` for line endings #1066

Closed smangham closed 4 months ago

smangham commented 5 months ago

Oddly, on WSL autocrlf=true is cloning the repo with CRLF, not LF. Easy fix is to just override this on a repository level by adding a .gitattributes with core.autocrlf=false.

smangham commented 4 months ago

Turns out you can't set config settings in .gitattributes (even though you can set those settings on a repository level?) but there's an equivalent set of commands. We'd need a .gitattributes anyway to sort out our Jupyter notebook diffs.