Skip to contentSkip to conversation

git-send-email: add option for output in mbox format

PATCH New Robert Richter 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-send-email: add option for output in mbox format

This patch adds an option for output in mbox format. Instead of sending, all messages are printed to standard out in mbox format.

Example:

git-send-email --mbox --compose --no-chain-reply-to patches > patches.mbox

---
 Documentation/git-send-email.txt |    4 ++
 git-send-email.perl              |   57 ++++++++++++++++++++++++++++++++------
 2 files changed, 52 insertions(+), 9 deletions(-)
Documentation/git-send-email.txt +4 -0
index 9d0a10c..1f1a06f 100644
@@ -81,6 +81,10 @@ The --cc option must be repeated for each user you want on the cc list.
 	values in the 'sendemail' section. The default identity is
 	the value of 'sendemail.identity'.
 
+--mbox::
+	Print all messages to the standard output in mbox format,
+	instead of sending each one.
+
 --smtp-server::
 	If set, specifies the outgoing SMTP server to use (e.g.
 	`smtp.example.com` or a raw IP address).  Alternatively it can
git-send-email.perl +48 -9

146 lines not on this page · raw message

Signature · 1 line
1.5.3.7