]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
send-email: get all the quoting of realnames right
authorUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Thu, 9 Aug 2007 13:27:58 +0000 (15:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2007 08:02:32 +0000 (01:02 -0700)
commit94638f89f5bcd1f92b86ebf988f7974167c3fd27
tree912dedae04b483c70dcd4ab3834756a3f4cebe5b
parent155197e6e770599a5ed7a33a33f2916032184dd3
send-email: get all the quoting of realnames right

- when sending several mails I got a slightly different behaviour for the first
  mail compared to the second to last one.  The reason is that $from was
  assigned in line 608 and was not reset when beginning to handle the next
  mail.

- Email::Valid can only handle properly quoted real names, so quote arguments
  to extract_valid_address.

This patch cleans up variable naming to better differentiate between sender of
the mail and it's author.

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl