Issues with git send-email and msmtp
- From
- Roger Pau Monné <royger@freebsd.org>
- Date
- Mar 21, 2017, 15:49 UTC
- Message-ID
- <20170321154921.3jgn4ktcop4shct2@dhcp-3-128.uk.xensource.com>
Hello,
I'm trying to use git send-email with msmtp, and I have added the following to my .gitconfig:
[sendemail] smtpserver = "/usr/local/bin/msmtp"
This seems to work fine, except that sometimes git dies unexpectedly after queuing a patch to msmtp:
Died at /usr/local/Cellar/git/2.12.0/libexec/git-core/git-send-email line 1350, <FIN> line 3.
I'm guessing there's some kind of race, because this is not 100% reproducible, sometimes succeeds while others simply dies with the above message. As you can imagine, this is specially annoying when sending patch series.
Has someone seen similar issues when using send-email and msmtp? Am I missing something in my .gitconfig?
Thanks, Roger.
(please keep me in the Cc since I'm not subscribed)