send-email: quiet some warnings, reject invalid addresses
authorEric Wong <normalperson@yhbt.net>
Mon, 15 May 2006 09:41:01 +0000 (02:41 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 15 May 2006 19:14:22 +0000 (12:14 -0700)
commitdb3106b274a75d5b9ea7f6fe1030b8528df7389b
tree13b2347fe0bbfb0547e8ace49e598abf7eea07c4
parentaca7ad7628ce72afbd1d0d99778c9a5c9cac7a7a
send-email: quiet some warnings, reject invalid addresses

I'm not sure why we never actually rejected invalid addresses in
the first place.  We just seemed to be using our email validity
checkers to kill duplicates.

Now we just drop invalid email addresses completely and warn
the user about it.

Since we support local sendmail, we'll also accept username-only
addresses.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email.perl