[RFC-PATCH v2 0/2] send-email: new --quote-email option
From: Tom Russello <hidden>
Date: 2016-06-16 02:19:37
Hello,
With the current send-email command, you can send a series of patches
"in reply to" an email.
This patch adds a new option to `git send-email`,
`--quote-email=<file>` which does two things:
- set fields appropriately (To, Cc, Subject, In-Reply-To)
- quote the given message
In this second patch, the new option `--quote-email=<file>` needs an
email file and does not manage non ascii characters.
There is still work in progress, including:
1. An option `--quote-email-id=<message-id>` to download the message
from any source, e.g. http://mid.gmane.org/<message-id>/raw.
The server's address could be set in the repo's config file.
2. There's also a discussion about whether this option should be
integrated in the current `--in-reply-to` option or not
* http://news.gmane.org/find-root.php?message_id=vpqh9dmfy5k.fsf@anie.imag.fr
3. The code to parse the email headers is currently duplicated
several times, we are refactoring it to help maintaining the
code.
4. Manage non ascii characters
Documentation/git-send-email.txt | 8 +++++++
git-send-email.perl | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
t/t9001-send-email.sh | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 232 insertions(+), 3 deletions(-)