[RFC-PATCH v2 0/2] send-email: new --quote-email option
- From
- Tom Russello <tom.russello@grenoble-inp.org>
- Date
- May 27, 2016, 17:11 UTC
- Message-ID
- <1464369102-7551-1-git-send-email-tom.russello@grenoble-inp.org>
- In-Reply-To
- <1464031829-6107-1-git-send-email-tom.russello@grenoble-inp.org>
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(-)