How to send patch series without storing them to disk?
Hi,
I want to send patches like this:
git format-patch --stdout --no-color -C --thread -n $oldrev..$newrev | ...send...
It seems git-send-email can't read email from stdin.
I tried to send one patch using git-send-email, it reported "Syntax: AUTH mechanism".
git send-email --from <myemail> --to <my-another-email> \
--smtp-pass <mypass> --smtp-user <myaccount> \
--smtp-server <the-smtp-server> \
--smtp-encryption auth \
0001-just-a-test.patchThe parameters about smtp are right, I tested with msmtp. What's wrong?
I have MIME::Base64 and Authen::SASL installed and the smtp server doesn't use ssl and tls.
Quoted 16 lines · Liu Yubao
Hi,
I want to send patches like this:
git format-patch --stdout --no-color -C --thread -n $oldrev..$newrev | ...send...
It seems git-send-email can't read email from stdin.
I tried to send one patch using git-send-email, it reported "Syntax: AUTH mechanism".
git send-email --from <myemail> --to <my-another-email> \ --smtp-pass <mypass> --smtp-user <myaccount> \ --smtp-server <the-smtp-server> \ --smtp-encryption auth \ 0001-just-a-test.patch
Quoted 4 lines
The parameters about smtp are right, I tested with msmtp. What's wrong?
I have
MIME::Base64andAuthen::SASLinstalled and the smtp server doesn't use ssl and tls.
Try removing --smtp-encryption and add --envelope-sender <youremail>.
Ian
Quoted 9 lines · Ian Hilt
Quoted 8 lines · Liu Yubao
Hi,
I tried to send one patch using git-send-email, it reported "Syntax: AUTH mechanism".git send-email --from <myemail> --to <my-another-email> \ --smtp-pass <mypass> --smtp-user <myaccount> \ --smtp-server <the-smtp-server> \ --smtp-encryption auth \ 0001-just-a-test.patch
Quoted 7 lines
Quoted 4 lines
The parameters about smtp are right, I tested with msmtp. What's wrong?
I have
MIME::Base64andAuthen::SASLinstalled and the smtp server doesn't use ssl and tls.Try removing --smtp-encryption and add --envelope-sender <youremail>.
I traced the related Perl modules and found Authen::SASL in Ubuntu Gutsy is buggy, the problem is resolved after I install the module from CPAN.
Quoted 3 lines
Ian
Quoted 7 lines · Liu Yubao
Hi,
I want to send patches like this:
git format-patch --stdout --no-color -C --thread -n $oldrev..$newrev | ...send...
It seems git-send-email can't read email from stdin.
Currently there is a discussion on the git mailing list concerning a way to make the following possible:
git send-email $oldrev..$newrev
Here's some more information,
<http://marc.info/?l=git&w=2&r=1&s=git+send-email&q=b>
Ian