mirror of
https://github.com/git/git.git
synced 2026-08-07 00:22:05 +00:00
Meta/cook, Meta/Reintegrate: add a few more $willdo verbs
"Will hold" and "Will eject (from ...)" are common things to say.
This commit is contained in:
@@ -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 /) {
|
||||
|
||||
7
cook
7
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 /) {
|
||||
|
||||
Reference in New Issue
Block a user