gothic-1-community-patch icon indicating copy to clipboard operation
gothic-1-community-patch copied to clipboard

Enforce encoding and line endings with .gitattributes

Open szapp opened this issue 4 months ago • 3 comments

To ease collaboration and cross-platform development, it's a good idea to not rely on local git settings for line endings and encoding. Instead let's enforce them with a .gitattributes. szapp/patch-template offers a good baseline for Daedalus scripts.

szapp avatar Aug 02 '25 08:08 szapp

We could also think about .editorconfig as an alternative: https://editorconfig.org/

AmProsius avatar Aug 08 '25 17:08 AmProsius

I think we should add both.

szapp avatar Aug 08 '25 17:08 szapp

In order to better compare with the test environment, I will go through with the encoding and carriage return changes (i.e. add a .gitattributes) to the master branch. Let's keep the issue open to add an .editorconfig later, as well.

szapp avatar Aug 23 '25 17:08 szapp