summaryrefslogtreecommitdiff
path: root/git-merge-recursive.py
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-06-06 00:05:56 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-06 00:05:56 -0700
commitad9c18f5045281ddd109c54451f1b4ebfb0d3567 (patch)
treeb0bc9c61a73b1d9a2f76c095b480d3759ba50dc0 /git-merge-recursive.py
parentCleanup git-send-email.perl:extract_valid_email (diff)
downloadtgif-ad9c18f5045281ddd109c54451f1b4ebfb0d3567.tar.xz
send-email: be more lenient and just catch obvious mistakes.
This cleans up the pattern matching subroutine by introducing two variables to hold regexp to approximately match local-part and domain in the e-mail address. It is meant to catch obvious mistakes with a cheap check. The patch also moves "scalar" to force Email::Valid->address() to work in !wantarray environment to extract_valid_address; earlier it was in the caller of the subroutine, which was way too error prone. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-merge-recursive.py')
0 files changed, 0 insertions, 0 deletions