Meta/cook, Meta/Reintegrate: add a few more $willdo verbs
"Will hold" and "Will eject (from ...)" are common things to say.
Junio C Hamano committed
Jun 23, 2016 at 15:26 UTC
17abc906c52dc431aed5153ebf00c7dd24371b75
2 files changed
+5
-4
Reintegrate
+1
-1
index 5dbf853a02..b4a64fb275 100755
--- a/Reintegrate
+++ b/Reintegrate
@@ -27,7 +27,7 @@ annotate_merge () {
perl -e '
sub wildo_match {
s/^\s*//;
- if (/^Will (?:\S+ ){0,2}(fast-track|keep|merge|drop|discard|cook|kick|defer|be re-?rolled)[,. ]/ ||
+ if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled)[,. ]/ ||
/^Not urgent/ || /^Not ready/ || /^Waiting for / ||
/^Can wait in / || /^Still / ||
/^Needs? / || /^Expecting / || /^May want to /) {
cook
+4
-3
index e357f90ab9..3815aee776 100755
--- a/cook
+++ b/cook
@@ -682,9 +682,10 @@ sub wildo_flush_topic {
}
sub wildo_match {
- if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|be re-?rolled)[,. ]/ ||
- /^Not urgent/ || /^Not ready/ || /^Waiting for / || /^Can wait in / ||
- /^Needs? / || /^Expecting / || /^May want to / || /^Still /) {
+ if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled)[,. ]/ ||
+ /^Not urgent/ || /^Not ready/ || /^Waiting for / ||
+ /^Can wait in / || /^Still / ||
+ /^Needs? / || /^Expecting / || /^May want to /) {
return 1;
}
if (/^I think this is ready for /) {