Git development
 help / color / mirror / Atom feed
* How to send patch series without storing them to disk?
@ 2008-11-03  9:33 Liu Yubao
  2008-11-04  3:50 ` Ian Hilt
  2008-11-04  4:04 ` Ian Hilt
  0 siblings, 2 replies; 4+ messages in thread
From: Liu Yubao @ 2008-11-03  9:33 UTC (permalink / raw)
  To: git

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

The 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to send patch series without storing them to disk?
  2008-11-03  9:33 How to send patch series without storing them to disk? Liu Yubao
@ 2008-11-04  3:50 ` Ian Hilt
  2008-11-04  6:01   ` Liu Yubao
  2008-11-04  4:04 ` Ian Hilt
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Hilt @ 2008-11-04  3:50 UTC (permalink / raw)
  To: Liu Yubao; +Cc: git

On Mon, 3 Nov 2008, Liu Yubao wrote:
> 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
> 
> The 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.

Try removing --smtp-encryption and add --envelope-sender <youremail>.


	Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to send patch series without storing them to disk?
  2008-11-03  9:33 How to send patch series without storing them to disk? Liu Yubao
  2008-11-04  3:50 ` Ian Hilt
@ 2008-11-04  4:04 ` Ian Hilt
  1 sibling, 0 replies; 4+ messages in thread
From: Ian Hilt @ 2008-11-04  4:04 UTC (permalink / raw)
  To: Liu Yubao; +Cc: git

On Mon, 3 Nov 2008, Liu Yubao wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to send patch series without storing them to disk?
  2008-11-04  3:50 ` Ian Hilt
@ 2008-11-04  6:01   ` Liu Yubao
  0 siblings, 0 replies; 4+ messages in thread
From: Liu Yubao @ 2008-11-04  6:01 UTC (permalink / raw)
  To: Ian Hilt; +Cc: git

Ian Hilt wrote:
> On Mon, 3 Nov 2008, Liu Yubao wrote:
>> 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
>>
>> The 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.
> 
> 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.

> 
> 	Ian
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-04  6:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03  9:33 How to send patch series without storing them to disk? Liu Yubao
2008-11-04  3:50 ` Ian Hilt
2008-11-04  6:01   ` Liu Yubao
2008-11-04  4:04 ` Ian Hilt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox