From a5de94128b5e56d138dfd7bdc4a77f1add810f89 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Mon, 27 Aug 2012 16:58:39 +0800 Subject: gitconfig: Match the Change-Id line more exactly Change-Id: I5ac267770bc5b43dd1435e75ab0fcbde0d88b664 Signed-off-by: Zheng Bao Signed-off-by: Zheng Bao Reviewed-on: http://review.coreboot.org/1487 Reviewed-by: Anton Kochkov Tested-by: build bot (Jenkins) --- util/gitconfig/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3