send-email: 'References:' should only reference what is sent
authorMichael Witten <mfwitten@gmail.com>
Mon, 13 Apr 2009 18:23:51 +0000 (13:23 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Apr 2009 08:56:23 +0000 (01:56 -0700)
commit15da10843135490e12efca7f8bc806ae0bcf5c53
tree5e1d1a4cb67cfec247c0a2a5e7e524f17c0c79f4
parent40e6e8a0c485e618be366f13247fd745ac00b911
send-email: 'References:' should only reference what is sent

If someone responded with a negative (n|no) to the confirmation,
then the Message-ID of the discarded email is no longer used
in the References: header of subsequent emails.

Consequently, send_message() now returns 1 if the message was
sent and 0 otherwise.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl