summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-Chen TK Hsu <chunchenhsu@google.com>2019-12-30 16:32:49 +0800
committerJason Lowe-Power <jason@lowepower.com>2020-01-16 16:53:24 +0000
commit4c071c4e0dc8ddf23b344ea6027903a65be2f966 (patch)
tree746a3c5e6674f6b70c7f93fe7d95438d71cf29da
parentaedaa1994e84cbb112280a5af5278235148789b0 (diff)
downloadgem5-4c071c4e0dc8ddf23b344ea6027903a65be2f966.tar.xz
util: Add fastmodel in valid tag list
The "fastmodel" tag has been used since 2019-08-22 so it should be an valid tag in commit header. Change-Id: I0032deaabc94e5896851da9afc28e1b1a699fed3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23923 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
-rwxr-xr-xutil/git-commit-msg.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/git-commit-msg.py b/util/git-commit-msg.py
index 74c8f014a..1ce8aa171 100755
--- a/util/git-commit-msg.py
+++ b/util/git-commit-msg.py
@@ -81,12 +81,13 @@ def _validateTags(commit_header):
# List of valid tags
# @todo this is error prone, and should be extracted automatically from
# a file
+
valid_tags = ["arch", "arch-alpha", "arch-arm", "arch-hsail", "arch-mips",
"arch-power", "arch-riscv", "arch-sparc", "arch-x86", "base",
"configs", "cpu", "cpu-kvm", "cpu-minor", "cpu-o3", "cpu-simple",
- "dev", "dev-arm", "dev-virtio", "ext", "gpu-compute", "learning-gem5",
- "mem", "mem-cache", "mem-garnet", "mem-ruby", "misc", "python",
- "scons", "sim", "sim-se", "sim-power", "stats", "system",
+ "dev", "dev-arm", "dev-virtio", "ext", "fastmodel", "gpu-compute",
+ "learning-gem5", "mem", "mem-cache", "mem-garnet", "mem-ruby", "misc",
+ "python", "scons", "sim", "sim-se", "sim-power", "stats", "system",
"system-alpha", "system-arm", "systemc", "tests", "util", "RFC", "WIP"]
tags = ''.join(commit_header.split(':')[0].split()).split(',')