author | Jay Soffian <jaysoffian@gmail.com> | |
Fri, 22 Feb 2008 00:16:04 +0000 (19:16 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 27 Feb 2008 21:26:14 +0000 (13:26 -0800) | ||
commit | 6ecbc851fb30f540e1a25761f221aab963cfe619 | |
tree | fc87cd6022a99fdabd0d3dedbcadda98796f3142 | tree | snapshot |
parent | 12f0a5ea7dc999bfe06973bf61261fc809c2b2fb | commit | diff |
send-email: fix In-Reply-To regression
Fix a regression introduced by
1ca3d6e (send-email: squelch warning due to comparing undefined $_ to "")
where if the user was prompted for an initial In-Reply-To and didn't
provide one, messages would be sent out with an invalid In-Reply-To of
"<>"
Also add test cases for the regression and the fix. A small modification
was needed to allow send-email to take its replies from stdin if the
environment variable GIT_SEND_EMAIL_NOTTY is set.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Fix a regression introduced by
1ca3d6e (send-email: squelch warning due to comparing undefined $_ to "")
where if the user was prompted for an initial In-Reply-To and didn't
provide one, messages would be sent out with an invalid In-Reply-To of
"<>"
Also add test cases for the regression and the fix. A small modification
was needed to allow send-email to take its replies from stdin if the
environment variable GIT_SEND_EMAIL_NOTTY is set.
Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | diff | blob | history | |
t/t9001-send-email.sh | diff | blob | history |