author | Jay Soffian <jaysoffian@gmail.com> | |
Fri, 22 Feb 2008 00:16:04 +0000 (19:16 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 22 Feb 2008 05:25:49 +0000 (21:25 -0800) | ||
commit | 0fb7fc751d29cd1099556f71fc7c08158a6a78bc | |
tree | 5168e978572e7f9f73803f1961fd0ab58e2d114e | tree | snapshot |
parent | f5ed3b30e0091421408a0119fa75148955c4fc6a | 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 |