summaryrefslogtreecommitdiff
path: root/util/gitconfig/commit-msg
diff options
context:
space:
mode:
Diffstat (limited to 'util/gitconfig/commit-msg')
-rwxr-xr-xutil/gitconfig/commit-msg2
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