Patchwork [U-Boot] patman: Ignore all Gerrit Commit-* tags

login
register
mail settings
Submitter Simon Glass
Date April 3, 2013, 9:01 p.m.
Message ID <1365022899-19335-1-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/233586/
State Accepted, archived
Delegated to: Simon Glass
Headers show

Comments

Simon Glass - April 3, 2013, 9:01 p.m.
These tags are used by Gerrit, so let's ignore all of them.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 tools/patman/patchstream.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Doug Anderson - April 3, 2013, 11:14 p.m.
Simon,

On Wed, Apr 3, 2013 at 2:01 PM, Simon Glass <sjg@chromium.org> wrote:
> These tags are used by Gerrit, so let's ignore all of them.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>  tools/patman/patchstream.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Doug Anderson <dianders@chromium.org>

Patch

diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py
index 9d8a918..926b586 100644
--- a/tools/patman/patchstream.py
+++ b/tools/patman/patchstream.py
@@ -31,7 +31,7 @@  from series import Series
 
 # Tags that we detect and remove
 re_remove = re.compile('^BUG=|^TEST=|^BRANCH=|^Change-Id:|^Review URL:'
-    '|Reviewed-on:|Commit-Ready:')
+    '|Reviewed-on:|Commit-\w*:')
 
 # Lines which are allowed after a TEST= line
 re_allowed_after_test = re.compile('^Signed-off-by:')