On 04/28/20 13:30, Guomin Jiang wrote:
> Hi All,
>
> I encounter a error recently, and it will result in abnormal patch, abnormal
> CI build and abnormal edk2-devel message.
>
> You can run ``` git config sendemail.transferencoding 8bit``` to avoid the
> error.
>
> The detail information as below,
> When I ready a patch and send it to
> [email protected]<mailto:[email protected]>, will see below abnormal
> picture.
>
> From Mail:
> [cid:[email protected]]
>
> From groups.io
> [cid:[email protected]]
>
> From CI:
> [cid:[email protected]]
>
> The defect happened because of CR+LF is keep in patch and will keep in mail,
> it seem that the CI or groups system haven't dispose it correctly.
>
> I get the answers from
> https://stackoverflow.com/questions/6289001/git-am-format-patch-control-format-of-line-endings,
> and bit8 can avoid unnecessary CR when send email. It explain the history
> why import the option as well.
>
> https://git-scm.com/docs/git-send-email provide the usage for the option.
>
> Help it is useful for yours
Yes, please refer to edk2 commit a5abd9cc2ceb ("BaseTools/Scripts: Add
sendemail.transferEncoding to SetupGit.py", 2019-12-24).
$ git show -b a5abd9cc2ceb
Thanks
Laszlo
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#58330): https://edk2.groups.io/g/devel/message/58330
Mute This Topic: https://groups.io/mt/73324742/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-