Reintegrate: teach 'On hold' status

This commit is contained in:
Junio C Hamano 2019-03-01 07:27:42 +09:00
parent ccd38f6202
commit 322e6dc209

View File

@ -32,12 +32,13 @@ done
annotate_merge () {
test -f Meta/whats-cooking.txt || return 0
# NEEDSWORK: unify with cook::wildo_match
perl -e '
sub wildo_match {
s/^\s*//;
if (/^Will (?:\S+ ){0,2}(fast-track|hold|keep|merge|drop|discard|cook|kick|defer|eject|be re-?rolled|wait)[,. ]/ ||
/^Not urgent/ || /^Not ready/ || /^Waiting for / ||
/^Can wait in / || /^Still / || /^Stuck / ||
/^Can wait in / || /^Still / || /^Stuck / || /^On hold/ ||
/^Needs? / || /^Expecting / || /^May want to /) {
return 1;
}