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

Re: [PATCH] Added --export option to git-send-email.

From
Avery Pennarun <apenwarr@gmail.com>
Date
Jul 14, 2008, 03:41 UTC
Message-ID
<32541b130807132041jae15352mc605c37386309a3c@mail.gmail.com>
In-Reply-To
<7vtzetkviy.fsf@gitster.siamese.dyndns.org>
On 7/13/08, Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
> "Avery Pennarun" <apenwarr@gmail.com> writes:
> > If git is going to start actually producing mbox files (as opposed to
>  > just individual messages as it does now), it should probably
>  > explicitly take a stance on the issue...
>
> Yeah, that makes one reason I should not be enthusiastic to take this
>  patch.
Eduard: perhaps instead of a --export option, what about an option to
run an external program that will take the given email on stdin and
process it however you want? ... aha, it seems this already exists in
the --smtp-server option.  So a shell script like this as your
--smtp-server should do what you want:
    #!/bin/sh
    exec sed s/'^\(>*From \)/>\1/'

Thus the result of git-send-email would be a series of emails concatenated to stdout, with From lines escaped appropriately.

Have fun,
Avery
Previous: Junio C HamanoNext: Eduard - Gabriel Munteanu
Message 14 of 15 in “Added --export option to git-send-email.”
  1. Added --export option to git-send-email.Eduard - Gabriel Munteanu, Jul 10, 2008
  2. Junio C HamanoJul 11, 2008
  3. Eduard - Gabriel MunteanuJul 11, 2008
  4. Junio C HamanoJul 13, 2008
  5. Avery PennarunJul 13, 2008
  6. Junio C HamanoJul 13, 2008
  7. Avery PennarunJul 13, 2008
  8. Junio C HamanoJul 13, 2008
  9. Avery PennarunJul 13, 2008
  10. Junio C HamanoJul 13, 2008
  11. Avery PennarunJul 13, 2008
  12. Eduard - Gabriel MunteanuJul 13, 2008
  13. Junio C HamanoJul 14, 2008
  14. Avery PennarunJul 14, 2008
  15. Eduard - Gabriel MunteanuJul 14, 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.