From: Ilya Yanok Date: Tue, 7 Aug 2012 13:46:06 +0400 Subject: [U-Boot] [PATCH 2/4] patman: don't pick changes while processing patches In-Reply-To: <1344332768-11891-1-git-send-email-ilya.yanok@cogentembedded.com> References: <1344332768-11891-1-git-send-email-ilya.yanok@cogentembedded.com> Message-ID: <1344332768-11891-3-git-send-email-ilya.yanok@cogentembedded.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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