[U-Boot] [PATCH 2/4] patman: don't pick changes while processing patches

Ilya Yanok ilya.yanok at cogentembedded.com
Tue Aug 7 11:46:06 CEST 2012


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 at cogentembedded.com>
---
 tools/patman/patchstream.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py
index 036b129..3de32d5 100644
--- a/tools/patman/patchstream.py
+++ b/tools/patman/patchstream.py
@@ -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
-- 
1.7.9.5



More information about the U-Boot mailing list