The purpose of this series of patches is to implement a new
"quote-email" feature integrated in the current `--in-reply-to` option.
* The first 2 patches make the tests less dependent to
`git send-email`'s exact output.
* Third patch makes `git send-email` a bit less verbose.
* Fourth patch introduces our email parser subroutine.
* Fifth patch makes the `--in-reply-to` open a email file (if it
exists) and populates From:, To:, Cc:, In-reply-to and
References: fields.
* Sixth patch quotes the message body in the cover letter if
`--compose` is set. Else, imply `--annotate` and insert quoted
message body below triple-dash in the first patch.
Changes since v3:
- test_cmp_noorder shell function fixed (patch 1/6)
- use fgrep instead of grep (patch 2/6)
- typo fixed (patch 3/6)
- email parser subroutine moved to Git.pm library (patch 4/6)
- test if $mail->{"cc"} is defined (patch 5/6)
[PATCH v4 1/6] t9001: non order-sensitive file comparison
[PATCH v4 2/6] t9001: check email address is in Cc: field
[PATCH v4 3/6] send-email: shorten send-email's output
[PATCH v4 4/6] send-email: create email parser subroutine
[PATCH v4 5/6] send-email: --in-reply-to=<file> populate header
[PATCH v4 6/6] send-email: add option --cite to quote the message
Documentation/git-send-email.txt | 17 +++++-
git-send-email.perl | 150
++++++++++++++++++++++++++++++++++++++++++++-----
perl/Git.pm | 34 ++++++++++++
t/t9001-send-email.sh | 190
+++++++++++++++++++++++++++++++++++++++++++++++++++------------
4 files changed, 339 insertions(+), 52 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html