Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

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

From: Avery Pennarun <hidden>
Date: 2016-06-15 22:44:56

On 7/13/08, Junio C Hamano [off-list ref] wrote:
"Avery Pennarun" [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help