OpenMage / magento-lts

Official OpenMage LTS codebase | Migrate easily from Magento Community Edition in minutes! Download the source code for free or contribute to OpenMage LTS | Security vulnerability patches, bug fixes, performance improvements and more.
https://www.openmage.org
Open Software License 3.0
863 stars 438 forks source link

Fixed wrong line endings for LICENSE.txt and LICENSE_AFL.txt #3992

Closed colinmollenhour closed 1 month ago

colinmollenhour commented 1 month ago

I'm not sure what part of my git config is causing this but git will not let me ignore these files.. image

If I use e.g. git reset --hard HEAD to try to restore the original git just reconverts them..

This PR just changes the line endings from CRLF to LF. This is consistent with the .gitattributes file that was added in https://github.com/OpenMage/magento-lts/pull/3318 which specifies all .txt files are to be eol=lf.

Apologies if this was already discussed somewhere but it is quite annoying and figure this is the best way to prevent it from coming up.

Possible side effects

None? Perhaps some tools sniff out file hashes of these files?