[coreboot] New patch to review for coreboot: fe4c78e gitconfig: Match the Change-Id line more exactly

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Mon Aug 27 09:09:17 CEST 2012

Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1487


commit fe4c78e8c004334f39004df632d29b38549efac1
Author: Zheng Bao <fishbaozi at gmail.com>
Date:   Mon Aug 27 16:58:39 2012 +0800

    gitconfig: Match the Change-Id line more exactly
    Change-Id: I5ac267770bc5b43dd1435e75ab0fcbde0d88b664
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
 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 212ffb1..82f0581 100755
--- a/util/gitconfig/commit-msg
+++ b/util/gitconfig/commit-msg
@@ -37,7 +37,7 @@ add_ChangeId() {
 	# 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

More information about the coreboot mailing list