Skip to content

Commit 0862e13

Browse files
committed
Meta/cook: catch 'will wait...', too
... and ignore ??/wip-* while at it.
1 parent 118c25d commit 0862e13

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Reintegrate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ annotate_merge () {
2727
perl -e '
2828
sub wildo_match {
2929
s/^\s*//;
30-
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled)[,. ]/ ||
30+
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled|wait)[,. ]/ ||
3131
/^Not urgent/ || /^Not ready/ || /^Waiting for / ||
3232
/^Can wait in / || /^Still / ||
3333
/^Needs? / || /^Expecting / || /^May want to /) {

cook

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ sub get_commit {
120120
while (<$fh>) {
121121
chomp;
122122
my ($branch, $date) = /^(\S+) (.*)$/;
123+
124+
next if ($branch =~ m|^../wip-|);
123125
push @topic, $branch;
124126
$date =~ s/ .*//;
125127
$topic{$branch} = +{
@@ -684,7 +686,7 @@ sub wildo_flush_topic {
684686
}
685687

686688
sub wildo_match {
687-
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled)[,. ]/ ||
689+
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled|wait)[,. ]/ ||
688690
/^Not urgent/ || /^Not ready/ || /^Waiting for / ||
689691
/^Can wait in / || /^Still / ||
690692
/^Needs? / || /^Expecting / || /^May want to /) {

0 commit comments

Comments
 (0)