summaryrefslogtreecommitdiff
path: root/tools/patman/patchstream.py
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2015-01-31 12:40:48 -0500
committerTom Rini <trini@ti.com>2015-01-31 12:40:48 -0500
commit358b8bc204f365be28fed94f23e53e04183a8c7f (patch)
treecbfbd51db0081424ad7f09c2fb47571c615bc35f /tools/patman/patchstream.py
parent6a608f20b987122a658e26978d76d2753654f5f2 (diff)
parent3d4de98696d2d906c968008219bb9a65960e7c10 (diff)
downloadu-boot-imx-358b8bc204f365be28fed94f23e53e04183a8c7f.zip
u-boot-imx-358b8bc204f365be28fed94f23e53e04183a8c7f.tar.gz
u-boot-imx-358b8bc204f365be28fed94f23e53e04183a8c7f.tar.bz2
Merge branch 'patman' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'tools/patman/patchstream.py')
-rw-r--r--tools/patman/patchstream.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py
index da04883..8c3a0ec 100644
--- a/tools/patman/patchstream.py
+++ b/tools/patman/patchstream.py
@@ -139,6 +139,9 @@ class PatchStream:
# Initially we have no output. Prepare the input line string
out = []
line = line.rstrip('\n')
+
+ commit_match = re_commit.match(line) if self.is_log else None
+
if self.is_log:
if line[:4] == ' ':
line = line[4:]
@@ -146,7 +149,6 @@ class PatchStream:
# Handle state transition and skipping blank lines
series_tag_match = re_series_tag.match(line)
commit_tag_match = re_commit_tag.match(line)
- commit_match = re_commit.match(line) if self.is_log else None
cover_cc_match = re_cover_cc.match(line)
signoff_match = re_signoff.match(line)
tag_match = None