Alexandre Julliard : patches: Try harder to find a parent for replies.

Alexandre Julliard julliard at winehq.org
Mon Nov 20 07:42:47 CST 2017


Module: tools
Branch: master
Commit: e44253139548dfaf238e7eb6e11a5f99d9ed793b
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=e44253139548dfaf238e7eb6e11a5f99d9ed793b

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Nov 17 16:37:49 2017 +0100

patches: Try harder to find a parent for replies.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 patches/update | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/patches/update b/patches/update
index 95e7841..8db8077 100755
--- a/patches/update
+++ b/patches/update
@@ -255,7 +255,7 @@ sub assign_parent($)
         }
         return $parent;
     }
-    return undef;
+    return $patch;
 }
 
 foreach my $file (sort keys %patches)
@@ -274,7 +274,7 @@ foreach my $file (sort { $patches{$b}->{"order"} <=> $patches{$a}->{"order"} } k
     {
         next if $patch->{"status"} eq "reply";
         next if $patch->{"from_marvin"};
-        next unless $patch->{"subject"} =~ /\[.*PATCH.*\]/;
+        next unless $patch->{"subject"} =~ /^\[.*PATCH.*\]/;
     }
 
     printf INDEX "<tr class=\"%s %s\"><td class=\"id\">%s</td><td class=\"status\"><a href=\"#legend\">%s</a></td>",




More information about the wine-cvs mailing list