my $refuse = 0;
my $prnum = 0;
my $verbose = 0;
+my $WHAT = 'openssl';
my $query = OpenSSL::Query->new();
try_add_reviewer($1);
} elsif (/^--verbose$/) {
$verbose = 1;
+ } elsif (/^--web$/) {
+ $WHAT = 'web';
+ } elsif (/--tools$/) {
+ $WHAT = 'tools'
}
}
foreach (@commit_message) {
# Start each line with assuming it's not a reviewed-by line
$last_is_rev = 0;
- if (/^\(Merged from https:\/\/github\.com\/openssl\/openssl\/pull\//) {
+ if (/^\(Merged from https:\/\/github\.com\/openssl\/$WHAT\/pull\//) {
next if $rmrev == 1;
$last_is_rev = 1;
next; # Because we're rewriting it below
}
}
-print "(Merged from https://github.com/openssl/openssl/pull/$prnum)\n"
+print "(Merged from https://github.com/openssl/$WHAT/pull/$prnum)\n"
if $prnum;