[openssl-commits] [tools] master update

Richard Levitte levitte at openssl.org
Sat Jun 17 13:51:59 UTC 2017


The branch master has been updated
       via  b8a728d49d075049bc8a571363542ff20c25a331 (commit)
      from  6f80fa00aefcfd39481f17eff9df7e85fa1eb9ab (commit)


- Log -----------------------------------------------------------------
commit b8a728d49d075049bc8a571363542ff20c25a331
Author: Richard Levitte <levitte at openssl.org>
Date:   Sat Jun 17 15:51:11 2017 +0200

    addrev, gitaddrev: allow nicknames that contain dashes

-----------------------------------------------------------------------

Summary of changes:
 review-tools/addrev    | 2 +-
 review-tools/gitaddrev | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/review-tools/addrev b/review-tools/addrev
index f4d65a8..169f381 100755
--- a/review-tools/addrev
+++ b/review-tools/addrev
@@ -10,7 +10,7 @@ my $trivial = 0;
 my $my_email;
 
 foreach (@ARGV) {
-    if (/^[a-z]+$/) {
+    if (/^[a-z][-a-z]*$/) {
         $args .= "--reviewer=$_ ";
     } elsif (/^--reviewer=(.+)$/) {
         $args .= "--reviewer=$1 ";
diff --git a/review-tools/gitaddrev b/review-tools/gitaddrev
index 5889758..8286dae 100755
--- a/review-tools/gitaddrev
+++ b/review-tools/gitaddrev
@@ -58,7 +58,7 @@ foreach (@ARGV) {
 	    my $rev = $query->find_person_tag($email_id, 'rev');
 	    my $omc = $query->is_member_of($email_id, 'omc');
 	    next unless $query->has_cla($rev);
-	    my @ids = sort grep { $_ =~ m|^[a-z]+$| } map {
+	    my @ids = sort grep { $_ =~ m|^[a-z][-a-z]*$| } map {
 		if (ref($_) eq "HASH") {
 		    values %$_;
 		} else {


More information about the openssl-commits mailing list