Meta/cook: remove stray duplicates
Besides, not cascading this as "if ... elsif ..." was totally wrong and pushed an undef $topic into %what{} hash
Junio C Hamano committed
Jun 6, 2012 at 13:12 UTC
4bd203416a2a5ace1cd3a030b77f3e01a7032a2d
1 file changed
+1
-4
cook
+1
-4
index 4369ac73ff..97770315a5 100755
--- a/cook
+++ b/cook
@@ -674,10 +674,7 @@ sub wildo {
wildo_queue(\%what, $_, $topic);
$topic = undef;
}
- if (/^Not urgent;/) {
- wildo_queue(\%what, $_, $topic);
- $topic = undef;
- }
+
if (/Originally merged to 'next' on ([-0-9]+)/) {
$topic->[1] = $1;
}