From: Ilya Yanok Date: Mon, 6 Aug 2012 23:46:06 +0000 (+0000) Subject: patman: don't pick changes while processing patches X-Git-Tag: v2012.10-rc1~101 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8840cb2f040b8aa1c870b7431ce27e9ec81284e;p=u-boot 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 --- diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index 036b1290f9..3de32d582c 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