From: Jonathan del Strother Date: Tue, 01 Apr 2008 10:51:38 GMT Subject: Re: Sending patches via gmail Message-ID: <57518fd10804010351x341ba728i69cfcad8f3909d6a@mail.gmail.com> In-Reply-To: <402731c90804010309w6a27d2d1t2df25ac41fff96b9@mail.gmail.com> On Tue, Apr 1, 2008 at 11:09 AM, David Aguilar wrote: > On 4/1/08, Jonathan del Strother wrote: > > > > I can't seem to send patches via gmail without it adding spurious line > > breaks - eg http://article.gmane.org/gmane.comp.version-control.git/78407. > > I thought this was supposed to be possible... All I'm doing is > > copying the contents of my patch, then in Gmail, clicking Compose > > Mail, make sure it's in Plain Text rather than Rich Formatting mode, > > paste my patch, and moving the mail header lines out of the message > > body. > > > > What am I missing? > > Jonathan del Strother > > > > Try git send-email w/ msmtp: > http://git.or.cz/gitwiki/GitTips#head-a015948617d9becbdc9836776f96ad244ba87cb8 > ...which seems to work ok, except for the fact that the From line in my patch (the output of git format-patch) then appears at the top of my message body in the resulting email (from git send-email). Deleting the From line from the patch seems to make everything work as expected. Any ideas what's going on there?