eclipse / nebula

Nebula Project
https://eclipse.org/nebula
Eclipse Public License 2.0
84 stars 97 forks source link

Re-normalize line-endings in git of all files to Linux style ("\n") #581

Closed HannesWell closed 3 months ago

HannesWell commented 3 months ago

Some ASCII-files were checked-in into git having windows style line endings (\r\n). This is in general not wanted because it can cause modified files without any difference in git-staging.

To re-normalize line endings of all files use the following command (including dot): git add --renormalize .

HannesWell commented 3 months ago

Since there are a lot of files with many lines involved I wonder if this is really wanted or if windows line-endings are even desired. At least it will make the git-blame useless for all affected file.

lcaron commented 3 months ago

Thank you hannes for your contribution. @wimjongman what do you think about merging this PR ?

wimjongman commented 3 months ago

Yes, let's go.

lcaron commented 3 months ago

PR Merged. Thank you @HannesWell for this nice contribution

HannesWell commented 3 months ago

You are welcome and thank you for reviewing. :)