]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
git-send-email: show all headers when sending mail
authorDavid D. Kilzer <ddkilzer@kilzer.net>
Mon, 19 Nov 2007 04:14:55 +0000 (20:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2007 08:19:46 +0000 (00:19 -0800)
commitb7f30e0a972ab90a0f7720a7d6411822eb796ea3
tree4d568fef33568c27843c2a4be9692d44d632b064
parent5d1d1c14790cf74eb0d630c4404114206061232d
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>
git-send-email.perl
t/t9001-send-email.sh