* Sending patches via gmail
@ 2008-04-01 9:49 Jonathan del Strother
2008-04-01 10:09 ` David Aguilar
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan del Strother @ 2008-04-01 9:49 UTC (permalink / raw)
To: Git Mailing List
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sending patches via gmail
2008-04-01 9:49 Sending patches via gmail Jonathan del Strother
@ 2008-04-01 10:09 ` David Aguilar
2008-04-01 10:51 ` Jonathan del Strother
0 siblings, 1 reply; 4+ messages in thread
From: David Aguilar @ 2008-04-01 10:09 UTC (permalink / raw)
To: Git Mailing List
On 4/1/08, Jonathan del Strother <maillist@steelskies.com> 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
--
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sending patches via gmail
2008-04-01 10:09 ` David Aguilar
@ 2008-04-01 10:51 ` Jonathan del Strother
2008-04-01 11:03 ` Jeff King
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan del Strother @ 2008-04-01 10:51 UTC (permalink / raw)
To: David Aguilar; +Cc: Git Mailing List
On Tue, Apr 1, 2008 at 11:09 AM, David Aguilar <davvid@gmail.com> wrote:
> On 4/1/08, Jonathan del Strother <maillist@steelskies.com> 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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sending patches via gmail
2008-04-01 10:51 ` Jonathan del Strother
@ 2008-04-01 11:03 ` Jeff King
0 siblings, 0 replies; 4+ messages in thread
From: Jeff King @ 2008-04-01 11:03 UTC (permalink / raw)
To: Jonathan del Strother; +Cc: David Aguilar, Git Mailing List
On Tue, Apr 01, 2008 at 11:51:38AM +0100, Jonathan del Strother wrote:
> ...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?
send-email will create a "from" line in the body of the message if the
"sender" (using --from, or answering "Who should the emails appear to be
from") doesn't match the patch's author (the "From:" line in the
generated patch, which comes from the author field of the commit).
The line is interpeted by git-am to properly credit the original author.
It looks like you are committing as jon.delStrother@bestbefore.tv,
but sending the emails as maillist@steelskies.com.
-Peff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-04-01 11:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 9:49 Sending patches via gmail Jonathan del Strother
2008-04-01 10:09 ` David Aguilar
2008-04-01 10:51 ` Jonathan del Strother
2008-04-01 11:03 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).