author | Peter Valdemar Mørch <peter@morch.com> | |
Fri, 25 Jul 2008 13:06:48 +0000 (15:06 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 25 Jul 2008 16:27:13 +0000 (09:27 -0700) | ||
commit | 8892048d516fffab2000c2b47e006d8d8ebaa8c7 | |
tree | d4592c9291e4500c7eceeb39e89221f9f835572f | tree | snapshot |
parent | f5242ebf0dcd858ae9c72f39aed9773696d7283d | commit | diff |
send-email: find body-encoding correctly
In 8291db6 (git-send-email: add charset header if we add encoded 'From',
2007-11-16), "$1" is used from a regexp without using () to capture
anything in $1. Later, when that value was used, it causes a warning about
a variable being undefined, instead of using the correct value for
comparison (not that it makes difference in the current code that does not
do actual re-encoding).
Signed-off-by: Peter Valdemar Mørch <peter@morch.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In 8291db6 (git-send-email: add charset header if we add encoded 'From',
2007-11-16), "$1" is used from a regexp without using () to capture
anything in $1. Later, when that value was used, it causes a warning about
a variable being undefined, instead of using the correct value for
comparison (not that it makes difference in the current code that does not
do actual re-encoding).
Signed-off-by: Peter Valdemar Mørch <peter@morch.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | diff | blob | history |