git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Sending patches via gmail

From
Jonathan del Strother <maillist@steelskies.com>
Date
Apr 1, 2008, 10:51 UTC
Message-ID
<57518fd10804010351x341ba728i69cfcad8f3909d6a@mail.gmail.com>
In-Reply-To
<402731c90804010309w6a27d2d1t2df25ac41fff96b9@mail.gmail.com>
On Tue, Apr 1, 2008 at 11:09 AM, David Aguilar <davvid@gmail.com> wrote:
Show 19 quoted lines
> 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?

Previous: David AguilarNext: Jeff King
Message 3 of 4 in “Sending patches via gmail”
  1. Jonathan del StrotherApr 1, 2008
  2. David AguilarApr 1, 2008
  3. Jonathan del StrotherApr 1, 2008
  4. Jeff KingApr 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.