]> git.sur5r.net Git - u-boot/commitdiff
patman: Add additional tags to ignore
authorSimon Glass <sjg@chromium.org>
Fri, 2 Nov 2012 06:38:43 +0000 (06:38 +0000)
committerTom Rini <trini@ti.com>
Sun, 4 Nov 2012 18:00:38 +0000 (11:00 -0700)
The BRANCH= tag can be used to indicate the destination branch for a
commit. Ignore this tag.

Also ignore the gerrit 'Commit-Ready:' tag.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/patchstream.py

index ad280cc46ccd61ad63de3fd83addfeea22887292..f7ee75a25f9b7c725b5ce4eddbcee6869052a5b2 100644 (file)
@@ -30,8 +30,8 @@ import gitutil
 from series import Series
 
 # Tags that we detect and remove
-re_remove = re.compile('^BUG=|^TEST=|^Change-Id:|^Review URL:'
-    '|Reviewed-on:|Reviewed-by:')
+re_remove = re.compile('^BUG=|^TEST=|^BRANCH=|^Change-Id:|^Review URL:'
+    '|Reviewed-on:|Reviewed-by:|Commit-Ready:')
 
 # Lines which are allowed after a TEST= line
 re_allowed_after_test = re.compile('^Signed-off-by:')