summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-26 13:09:40 +0000
committerSimon Glass <sjg@chromium.org>2013-04-04 14:04:35 -0700
commited9222752d148c6aa655cc189b623e73ede1b62d (patch)
tree193dca0477e376dab53a0946cd9b4002bee29175
parentd29fe6e2d2cbcbfd1bfaaf886818d84edde0fc0d (diff)
downloadu-boot-imx-ed9222752d148c6aa655cc189b623e73ede1b62d.zip
u-boot-imx-ed9222752d148c6aa655cc189b623e73ede1b62d.tar.gz
u-boot-imx-ed9222752d148c6aa655cc189b623e73ede1b62d.tar.bz2
patman: Don't allow spaces in tags
At present something like: Revert "arm: Add cache operations" will try to use Revert "arm as a tag. Clearly this is wrong, so fix it. If the revert is intended to be tagged, then the tag can come before the revert, perhaps. Alternatively the 'Cc' tag can be used in the commit messages. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Doug Anderson <dianders@chromium.org>
-rw-r--r--tools/patman/commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/commit.py b/tools/patman/commit.py
index 7144e54..cbfbc46 100644
--- a/tools/patman/commit.py
+++ b/tools/patman/commit.py
@@ -22,7 +22,7 @@
import re
# Separates a tag: at the beginning of the subject from the rest of it
-re_subject_tag = re.compile('([^:]*):\s*(.*)')
+re_subject_tag = re.compile('([^:\s]*):\s*(.*)')
class Commit:
"""Holds information about a single commit/patch in the series.