vitruv-tools / Vitruv

View-based Development and Model Consistency Framework
http://vitruv.tools
Eclipse Public License 1.0
14 stars 19 forks source link

Enforce normalization of line endings #496

Closed tsaglam closed 2 years ago

tsaglam commented 2 years ago

We should enforce line ending normalization though a .gitattributes file. Each of our repositories needs such a file:

# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

Also, we then should once normalize all line endings with git add --renormalize .. However, this might produce many changes to commit, the timing of this PR should thus selected carefully to avoid conflicts with other branches and forks.

TL;DR: