[NEW PATCH] Strip gerrit headers from changelog (via gerrit-bot)
Federico Simoncelli
fsimonce at redhat.com
Tue Aug 23 09:28:23 UTC 2011
New patch submitted by Federico Simoncelli (fsimonce at redhat.com)
You can review this change at: http://gerrit.usersys.redhat.com/846
commit 7834a7efbc7e4b77b2061009640bad8f814a5dae
Author: Federico Simoncelli <fsimonce at redhat.com>
Date: Tue Aug 23 08:52:54 2011 +0000
Strip gerrit headers from changelog
Change-Id: Ie3c09ee32e85a2f8044a4b96570d08557bfd8728
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog
index 4559704..b0db305 100755
--- a/build-aux/gitlog-to-changelog
+++ b/build-aux/gitlog-to-changelog
@@ -152,6 +152,9 @@ sub quoted_cmd(@)
# Omit "Signed-off-by..." lines.
@line = grep !/^Signed-off-by: .*>$/, @line;
+ # Omit gerrit lines.
+ @line = grep !/^(Change-Id|Reviewed-(on|by)|Tested-by): .*$/, @line;
+
# If there were any lines
if (@line == 0)
{
More information about the vdsm-patches
mailing list