diff options
author | Christian Ludwig <chrissicool@gmail.com> | 2018-03-04 00:58:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-06 00:18:00 -0800 |
commit | d11c943c7824ed91ec396c8726d18ce687848d34 (patch) | |
tree | 6107f6945f10aa59a1517cf8f7d27b36d4023d50 /t | |
parent | send-email: rename variable for clarity (diff) | |
download | tgif-d11c943c7824ed91ec396c8726d18ce687848d34.tar.xz |
send-email: support separate Reply-To address
In some projects contributions from groups are only accepted from a
common group email address. But every individual may want to receive
replies to her own personal address. That's what we have 'Reply-To'
headers for in SMTP. So introduce an optional '--reply-to' command
line option.
This patch re-uses the $reply_to variable. This could break
out-of-tree patches!
Signed-off-by: Christian Ludwig <chrissicool@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t9001-send-email.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 4d261c2a9c..c97356a1ba 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -199,6 +199,7 @@ Message-Id: MESSAGE-ID-STRING X-Mailer: X-MAILER-STRING In-Reply-To: <unique-message-id@example.com> References: <unique-message-id@example.com> +Reply-To: Reply <reply@example.com> Result: OK EOF @@ -291,6 +292,7 @@ test_expect_success $PREREQ 'Show all headers' ' --dry-run \ --suppress-cc=sob \ --from="Example <from@example.com>" \ + --reply-to="Reply <reply@example.com>" \ --to=to@example.com \ --cc=cc@example.com \ --bcc=bcc@example.com \ |