Meta/cook: pick up more key phrases

todo
Junio C Hamano 2011-10-06 14:44:37 -07:00
parent f909981a9a
commit c5971de824
1 changed files with 6 additions and 6 deletions

12
cook
View File

@ -630,18 +630,18 @@ sub wildo {
$topic->[4]++;
}
next if (/^ /);
if (defined $topic &&
/Will (?:\S+ ){0,2}(merge|drop|discard|cook)[. ]/i) {
next unless defined $topic;
if (/^Will (?:\S+ ){0,2}(merge|drop|discard|cook|kick)[,. ]/ ||
/^Not urgent/ ||
/^Needs? /) {
wildo_queue(\%what, $_, $topic);
$topic = undef;
}
if (defined $topic &&
/^Not urgent;/) {
if (/^Not urgent;/) {
wildo_queue(\%what, $_, $topic);
$topic = undef;
}
if (defined $topic &&
/Originally merged to 'next' on ([-0-9]+)/) {
if (/Originally merged to 'next' on ([-0-9]+)/) {
$topic->[1] = $1;
}
}