X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2Fpatman%2Fpatchstream.py;h=69d5cfb7a8ea8fc66572180d02334e5a8b7d8654;hb=94fbd3e37d6bdbf5490a185607ca20f862637220;hp=0612612372fc484a7a022c763f4992df5de86bc6;hpb=57b6b190a8926403dca2444a45c34bed1f62992d;p=platform%2Fkernel%2Fu-boot.git diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index 0612612..69d5cfb 100644 --- a/tools/patman/patchstream.py +++ b/tools/patman/patchstream.py @@ -177,9 +177,10 @@ class PatchStream: elif commit_match: self.state = STATE_MSG_HEADER - # If a tag is detected + # If a tag is detected, or a new commit starts if series_tag_match or commit_tag_match or \ - cover_match or cover_cc_match or signoff_match: + cover_match or cover_cc_match or signoff_match or \ + self.state == STATE_MSG_HEADER: # but we are already in a section, this means 'END' is missing # for that section, fix it up. if self.in_section: