Title: [203032] trunk/Tools
Revision
203032
Author
m...@apple.com
Date
2016-07-09 09:23:27 -0700 (Sat, 09 Jul 2016)

Log Message

Give git-add-reviewer an option to say “Rubber-stamped by” in non-interactive mode
https://bugs.webkit.org/show_bug.cgi?id=159600

Reviewed by Daniel Bates.

* Scripts/git-add-reviewer:
Added the -s|--rubber-stamp option.
(nonInteractive): Set the rubberstamp key in the item passed to addReviewer() based on the
  new option.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (203031 => 203032)


--- trunk/Tools/ChangeLog	2016-07-09 15:47:29 UTC (rev 203031)
+++ trunk/Tools/ChangeLog	2016-07-09 16:23:27 UTC (rev 203032)
@@ -1,3 +1,15 @@
+2016-07-09  Dan Bernstein  <m...@apple.com>
+
+        Give git-add-reviewer an option to say “Rubber-stamped by” in non-interactive mode
+        https://bugs.webkit.org/show_bug.cgi?id=159600
+
+        Reviewed by Daniel Bates.
+
+        * Scripts/git-add-reviewer:
+        Added the -s|--rubber-stamp option.
+        (nonInteractive): Set the rubberstamp key in the item passed to addReviewer() based on the
+          new option.
+
 2016-07-08  Andy Estes  <aes...@apple.com>
 
         [Content Filtering] Load blocked pages more like other error pages are loaded

Modified: trunk/Tools/Scripts/git-add-reviewer (203031 => 203032)


--- trunk/Tools/Scripts/git-add-reviewer	2016-07-09 15:47:29 UTC (rev 203031)
+++ trunk/Tools/Scripts/git-add-reviewer	2016-07-09 16:23:27 UTC (rev 203032)
@@ -61,6 +61,7 @@
 
 my $interactive = 0;
 my $showHelp = 0;
+my $rubberStamp = 0;
 
 my $programName = basename($0);
 my $usage = <<EOF;
@@ -79,11 +80,13 @@
 Options:
   -h|--help          Display this message
   -i|--interactive   Interactive mode
+  -s|--rubber-stamp  Change `Reviewed by` to `Rubber-stamped by`
 EOF
 
 my $getOptionsResult = GetOptions(
     'h|help' => \$showHelp,
     'i|interactive' => \$interactive,
+    's|rubber-stamp' => \$rubberStamp,
 );
 
 my $gitDirectory = gitDirectory();
@@ -181,6 +184,7 @@
 
     my %item = (
         reviewer => $reviewer,
+        rubberstamp => $rubberStamp,
         commit => $commit,
     );
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to