diff options
author | Martin Liska <mliska@suse.cz> | 2020-06-10 09:57:51 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-06-10 09:58:07 +0200 |
commit | 771e60dd073b4dc0663fa9282b854dafdd92242d (patch) | |
tree | 66c0ed26c06a563c9d33214217fbe48852e441e6 /contrib/gcc-changelog/git_commit.py | |
parent | 1ea9a0b74e60e6cdca6372403d7bd564a5410d82 (diff) | |
download | gcc-771e60dd073b4dc0663fa9282b854dafdd92242d.zip gcc-771e60dd073b4dc0663fa9282b854dafdd92242d.tar.gz gcc-771e60dd073b4dc0663fa9282b854dafdd92242d.tar.bz2 |
gcc-changelog: add more Review by prefixes.
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Add more supported prefixes.
* gcc-changelog/test_email.py: Fix one flake8 error.
* gcc-changelog/test_patches.txt: Add tested for newly
supported prefixes.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
-rwxr-xr-x | contrib/gcc-changelog/git_commit.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 0b350ba..eac6488 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -159,12 +159,10 @@ LINE_LIMIT = 100 TAB_WIDTH = 8 CO_AUTHORED_BY_PREFIX = 'co-authored-by: ' CHERRY_PICK_PREFIX = '(cherry picked from commit ' -REVIEWED_BY_PREFIX = 'reviewed-by: ' -REVIEWED_ON_PREFIX = 'reviewed-on: ' -SIGNED_OFF_BY_PREFIX = 'signed-off-by: ' -REVIEW_PREFIXES = (REVIEWED_BY_PREFIX, REVIEWED_ON_PREFIX, - SIGNED_OFF_BY_PREFIX) +REVIEW_PREFIXES = ('reviewed-by: ', 'reviewed-on: ', 'signed-off-by: ', + 'acked-by: ', 'tested-by: ', 'reported-by: ', + 'suggested-by: ') class Error: |