get_maintainer.pl: move git loop under "if ($email) {"
commit8ad2c0f0f8996fe71826c1cc79e509ad6a94d2d4
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Oct 2014 08:38:27 +0000 (22 10:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Oct 2014 14:41:27 +0000 (23 16:41 +0200)
tree2fd8971ca2facfc6554d3a6d2abd907df5715d54
parent107684c05d80c457aa6e81d090b36a1a294110ec
get_maintainer.pl: move git loop under "if ($email) {"

All checks in the loop are guarded by that condition, and there is a
handy "if" just below.  Simplify the code.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/get_maintainer.pl