{"thread":{"id":"16149","subject":"How to send patch series without storing them to disk?","startedAt":"2008-11-03T09:33:50Z","lastAt":"2008-11-04T06:01:41Z","messageCount":4,"participants":["Liu Yubao","Ian Hilt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"94736","messageId":"490EC57E.4080200@gmail.com","threadId":"16149","inReplyTo":null,"subject":"How to send patch series without storing them to disk?","fromName":"Liu Yubao","fromEmail":"yubao.liu@gmail.com","sentAt":"2008-11-03T09:33:50Z","receivedAt":"2008-11-03T09:33:50Z","isPatch":false,"sender":{"key":"yubao.liu@gmail.com","avatar":null},"body":"Hi,\n\nI want to send patches like this:\n\n  git format-patch --stdout --no-color -C --thread -n $oldrev..$newrev | ...send...\n\nIt seems git-send-email can't read email from stdin.\n\n\nI tried to send one patch using git-send-email, it reported \"Syntax: AUTH mechanism\".\n  git send-email --from <myemail> --to <my-another-email> \\\n                 --smtp-pass <mypass> --smtp-user <myaccount> \\\n                 --smtp-server <the-smtp-server> \\\n                 --smtp-encryption auth          \\\n                 0001-just-a-test.patch\n\nThe parameters about smtp are right, I tested with msmtp. What's wrong?\n\nI have MIME::Base64 and Authen::SASL installed and the smtp server doesn't use\nssl and tls.\n"},{"id":"94843","messageId":"alpine.LFD.2.00.0811032242080.1791@sys-0.hiltweb.site","threadId":"16149","inReplyTo":"490EC57E.4080200@gmail.com","subject":"Re: How to send patch series without storing them to disk?","fromName":"Ian Hilt","fromEmail":"ian.hilt@gmx.com","sentAt":"2008-11-04T03:50:31Z","receivedAt":"2008-11-04T03:50:31Z","isPatch":false,"sender":{"key":"ian.hilt@gmx.com","avatar":null},"body":"On Mon, 3 Nov 2008, Liu Yubao wrote:\n> Hi,\n> \n> I want to send patches like this:\n> \n>   git format-patch --stdout --no-color -C --thread -n $oldrev..$newrev | ...send...\n> \n> It seems git-send-email can't read email from stdin.\n> \n> \n> I tried to send one patch using git-send-email, it reported \"Syntax: AUTH mechanism\".\n>   git send-email --from <myemail> --to <my-another-email> \\\n>                  --smtp-pass <mypass> --smtp-user <myaccount> \\\n>                  --smtp-server <the-smtp-server> \\\n>                  --smtp-encryption auth          \\\n>                  0001-just-a-test.patch\n> \n> The parameters about smtp are right, I tested with msmtp. What's wrong?\n> \n> I have MIME::Base64 and Authen::SASL installed and the smtp server doesn't use\n> ssl and tls.\n\nTry removing --smtp-encryption and add --envelope-sender <youremail>.\n\n\n\tIan\n"},{"id":"94844","messageId":"alpine.LFD.2.00.0811032259220.1791@sys-0.hiltweb.site","threadId":"16149","inReplyTo":"490EC57E.4080200@gmail.com","subject":"Re: How to send patch series without storing them to disk?","fromName":"Ian Hilt","fromEmail":"ian.hilt@gmx.com","sentAt":"2008-11-04T04:04:19Z","receivedAt":"2008-11-04T04:04:19Z","isPatch":false,"sender":{"key":"ian.hilt@gmx.com","avatar":null},"body":"On Mon, 3 Nov 2008, Liu Yubao wrote:\n> Hi,\n> \n> I want to send patches like this:\n> \n>   git format-patch --stdout --no-color -C --thread -n $oldrev..$newrev | ...send...\n> \n> It seems git-send-email can't read email from stdin.\n\nCurrently there is a discussion on the git mailing list concerning a way\nto make the following possible:\n\n    git send-email $oldrev..$newrev\n\nHere's some more information,\n\n  <http://marc.info/?l=git&w=2&r=1&s=git+send-email&q=b>\n\n\n\tIan\n"},{"id":"94856","messageId":"490FE545.9000106@gmail.com","threadId":"16149","inReplyTo":"alpine.LFD.2.00.0811032242080.1791@sys-0.hiltweb.site","subject":"Re: How to send patch series without storing them to disk?","fromName":"Liu Yubao","fromEmail":"yubao.liu@gmail.com","sentAt":"2008-11-04T06:01:41Z","receivedAt":"2008-11-04T06:01:41Z","isPatch":false,"sender":{"key":"yubao.liu@gmail.com","avatar":null},"body":"Ian Hilt wrote:\n> On Mon, 3 Nov 2008, Liu Yubao wrote:\n>> Hi,\n>> I tried to send one patch using git-send-email, it reported \"Syntax: AUTH mechanism\".\n>>   git send-email --from <myemail> --to <my-another-email> \\\n>>                  --smtp-pass <mypass> --smtp-user <myaccount> \\\n>>                  --smtp-server <the-smtp-server> \\\n>>                  --smtp-encryption auth          \\\n>>                  0001-just-a-test.patch\n>>\n>> The parameters about smtp are right, I tested with msmtp. What's wrong?\n>>\n>> I have MIME::Base64 and Authen::SASL installed and the smtp server doesn't use\n>> ssl and tls.\n> \n> Try removing --smtp-encryption and add --envelope-sender <youremail>.\n> \n\nI traced the related Perl modules and found Authen::SASL in Ubuntu Gutsy is buggy,\nthe problem is resolved after I install the module from CPAN.\n\n> \n> \tIan\n> \n"}]}