fgsfdsfgs / sm64-port

PS2, PS3, OG Xbox and DOS ports of sm64-port.
https://discord.gg/7bcNTPK
242 stars 38 forks source link

Enforce LF Endings in Python Scripts #58

Closed TBirdSoars closed 2 years ago

TBirdSoars commented 2 years ago

This should fix the line ending issue (https://github.com/fgsfdsfgs/sm64-port/issues/37#issuecomment-917444878) by forcing all .py files to use LF line endings. Should be fine as long as the scripts are only being run when compiling on Linux or with Docker.

It's possible that previous attempts to correct this were accidentally undone by Git's core.autocrlf

Git can handle this by auto-converting CRLF line endings into LF when you add a file to the index, and vice versa when it checks out code onto your filesystem. You can turn on this functionality with the core.autocrlf setting. If you’re on a Windows machine, set it to true — this converts LF endings into CRLF when you check out code

https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration