send-email: lazy-load Email::Valid and make it optional
authorEric Wong <normalperson@yhbt.net>
Sun, 26 Mar 2006 00:47:12 +0000 (16:47 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 26 Mar 2006 01:41:23 +0000 (17:41 -0800)
commit567ffeb7722eefab3991cb894c96548b92b57cc2
tree94329f9421821b15286d7d121d6d1f77fe2539f2
parenta5370b16c34993c1d0f65171d5704244901e005b
send-email: lazy-load Email::Valid and make it optional

It's not installed on enough machines, and is overkill most of
the time.  We'll fallback to a very basic regexp just in case,
but nothing like the monster regexp Email::Valid has to offer :)

Small cleanup from Merlyn.

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