diff options
Diffstat (limited to 'util')
-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 |