diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2012-08-27 16:58:39 +0800 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2012-08-27 15:41:33 +0200 |
commit | a5de94128b5e56d138dfd7bdc4a77f1add810f89 (patch) | |
tree | 3f91b5f4dfed10ef344e4a285adf4c131deb7c40 | |
parent | 0a78f91fa378879ee0bd202aca3c839eed6c24be (diff) |
gitconfig: Match the Change-Id line more exactly
Change-Id: I5ac267770bc5b43dd1435e75ab0fcbde0d88b664
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1487
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Tested-by: build bot (Jenkins)
-rwxr-xr-x | util/gitconfig/commit-msg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/gitconfig/commit-msg b/util/gitconfig/commit-msg index 212ffb1738..82f0581ced 100755 --- a/util/gitconfig/commit-msg +++ b/util/gitconfig/commit-msg @@ -37,7 +37,7 @@ add_ChangeId() { fi # Does Change-Id: already exist? if so, exit (no change). - if grep -i '^Change-Id:' "$MSG" >/dev/null + if grep -i '^Change-Id: I[0-9a-f]\{40\}$' "$MSG" >/dev/null then return fi |