]> git.donarmstrong.com Git - debbugs.git/commitdiff
support the rest of the control options in summary 0
authorDon Armstrong <don@donarmstrong.com>
Tue, 11 Aug 2009 00:38:22 +0000 (17:38 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 11 Aug 2009 00:38:22 +0000 (17:38 -0700)
Debbugs/Control.pm

index f7c74d55fa4227eb2af3d2d5d99fd8b4d5a8cb79..34f6bbf57b4ea73af1b43782fb30f39d5a411b1b 100644 (file)
@@ -1948,12 +1948,14 @@ sub summary {
              }
              # skip a paragraph if it looks like it's control or
              # pseudo-headers
-             if ($line =~ m{^\s*(?:(?:Package|Source|Version)\:| #pseudo headers
-                                (?:package|(?:no|)owner|severity|tag|summary| #control
-                                     \#|reopen|close|(?:not|)(?:fixed|found)|clone|
-                                     (?:force|)merge|user(?:category|tag|)
-                                )
-                           )\s+\S}x) {
+             if ($line =~ m{^\s*(?:Package|Source|Version|User|Tag|Severity)\:\s+\S}xi or #pseudo headers
+                 $line =~ m{^(?:package:?|(?:no|)owner|severity|tags?|summary| #control
+                                \#|reopen|close|(?:not|)(?:fixed|found)|clone|
+                                debug|(?:not|)forwarded|priority|
+                                (?:un|)block|limit|(?:un|)archive|
+                                reassign|retitle|affects|wrongpackage
+                                (?:un|force|)merge|user(?:category|tags?|)
+                            )\s+\S}xis) {
                   if (not length $paragraph) {
                        print {$debug} "Found control/pseudo-headers and skiping them\n";
                        $in_pseudoheaders = 1;