我正在使用git send-email
通过电子邮件发送补丁但是我想发送颜色差异所以我使用python中的ansi2HTML转换器插件将diff.patch
文件转换为colour_diff.html
但是它保存了文件到HTML,所以我现在尝试发送此html文件,但当我尝试发送时,我收到此错误消息
Unsuccessful stat on filename containing newline at /Library/Developer/CommandLineTools/usr/libexec/git-core/git-send-email line 568.
Unsuccessful stat on filename containing newline at /Library/Developer/CommandLineTools/usr/libexec/git-core/git-send-email line 575.
Unsuccessful stat on filename containing newline at /Library/Developer/CommandLineTools/usr/libexec/git-core/git-send-email line 575.
fatal: failed to stat
是他们的任何方式让这个工作或我必须使用smtplib模块发送电子邮件html diff补丁吗?