Nate: Thanks for your sharing. I apply this command in my development machine.
Thanks Liming >-----Original Message----- >From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >Nate DeSimone >Sent: Wednesday, December 04, 2019 12:31 PM >To: devel@edk2.groups.io >Subject: [edk2-devel] Public-Service-Announcement: send-email issues with >Git 2.22.0+ >Importance: High > >Hi Everyone, > >I have been dealing with a very frustrating issue recently where all of my "CR >LF" line endings get erroneously converted into "LF LF" once I send my patch >to the mailing list. I have discovered the root cause for this problem. The >issue >is the following commit to git itself: > >https://github.com/git/git/commit/5983ddc165221c3ec2a4299b65cfb2ecc1ce7 >765 > >This change is present in git version 2.20.0 or later, per the release notes: > >https://github.com/git/git/blob/v2.22.0/Documentation/RelNotes/2.22.0.txt > >With this change, if you leave sendemail.transferEncoding set to the default >value of "auto", then git will inspect the body of your email. If it finds a >'\r' >character in the message, then it converts the entire message content into >Quoted-Printable encoding. It appears that when groups.io converts the QP >encoding back to text format, the '\r' characters somehow become '\n'. To >workaround this make sure to set the following configuration option: > >git config --global sendemail.transferEncoding 8bit > >This will prevent send-email from converting the message into QP encoding, >allowing the patches to pass through to the mailing list unharmed. Hope that >saves other people a few hours of frustration. > >Regards, >Nate > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#51716): https://edk2.groups.io/g/devel/message/51716 Mute This Topic: https://groups.io/mt/66206907/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-