summaryrefslogtreecommitdiff
path: root/tools/patman/patchstream.py
diff options
context:
space:
mode:
authorIlya Yanok <ilya.yanok@cogentembedded.com>2012-08-06 23:46:06 +0000
committerWolfgang Denk <wd@denx.de>2012-09-02 16:23:33 +0200
commita8840cb2f040b8aa1c870b7431ce27e9ec81284e (patch)
tree419ab8c710f95f12a2958ad22da21b49b96c3b4d /tools/patman/patchstream.py
parent05e5b73506f0a07660f0930f4ecec6e6f5b7cd03 (diff)
downloadu-boot-imx-a8840cb2f040b8aa1c870b7431ce27e9ec81284e.zip
u-boot-imx-a8840cb2f040b8aa1c870b7431ce27e9ec81284e.tar.gz
u-boot-imx-a8840cb2f040b8aa1c870b7431ce27e9ec81284e.tar.bz2
patman: don't pick changes while processing patches
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>
Diffstat (limited to 'tools/patman/patchstream.py')
-rw-r--r--tools/patman/patchstream.py3
1 files changed, 2 insertions, 1 deletions
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