]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
patman: don't pick changes while processing patches
authorIlya Yanok <ilya.yanok@cogentembedded.com>
Mon, 6 Aug 2012 23:46:06 +0000 (23:46 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 2 Sep 2012 14:23:33 +0000 (16:23 +0200)
We already got all changes from git log output and the comment
to the ProcessLine function clearly states that 'patch' mode
is not for scanning tags.

Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
tools/patman/patchstream.py

index 036b1290f965471d451fe18ee5710d4bbe26101d..3de32d582ca06ff7a1f6710d1cda671f096eaf34 100644 (file)
@@ -214,7 +214,8 @@ class PatchStream:
                 self.in_change = 0
                 out = self.ProcessLine(line)
             else:
-                self.series.AddChange(self.in_change, self.commit, line)
+                if self.is_log:
+                    self.series.AddChange(self.in_change, self.commit, line)
             self.skip_blank = False
 
         # Detect Series-xxx tags