]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/cook: remove stray duplicates
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2012 20:12:34 +0000 (13:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2012 20:12:34 +0000 (13:12 -0700)
Besides, not cascading this as "if ... elsif ..." was totally wrong
and pushed an undef $topic into %what{} hash

cook

diff --git a/cook b/cook
index 4369ac73ffec68301d1123e141e4cb7dafec6282..97770315a58d2d7e01b9c2766f5caf7e4ad1f6da 100755 (executable)
--- 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;
                }