author | David D. Kilzer <ddkilzer@kilzer.net> | |
Mon, 19 Nov 2007 04:14:55 +0000 (20:14 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 19 Nov 2007 08:19:46 +0000 (00:19 -0800) | ||
commit | b7f30e0a972ab90a0f7720a7d6411822eb796ea3 | |
tree | 4d568fef33568c27843c2a4be9692d44d632b064 | tree | snapshot |
parent | 5d1d1c14790cf74eb0d630c4404114206061232d | commit | diff |
git-send-email: show all headers when sending mail
As a git newbie, it was confusing to set an In-Reply-To header but then
not see it printed when the git-send-email command was run.
This patch prints all headers that would be sent to sendmail or an SMTP
server instead of only printing From, Subject, Cc, To. It also removes
the now-extraneous Date header after the "Log says" line.
Added test to t/t9001-send-email.sh.
Signed-off-by: David D. Kilzer <ddkilzer@kilzer.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
As a git newbie, it was confusing to set an In-Reply-To header but then
not see it printed when the git-send-email command was run.
This patch prints all headers that would be sent to sendmail or an SMTP
server instead of only printing From, Subject, Cc, To. It also removes
the now-extraneous Date header after the "Log says" line.
Added test to t/t9001-send-email.sh.
Signed-off-by: David D. Kilzer <ddkilzer@kilzer.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | diff | blob | history | |
t/t9001-send-email.sh | diff | blob | history |