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 99c8941be4..08f04ffe8d 100755 --- a/util/gitconfig/commit-msg +++ b/util/gitconfig/commit-msg @@ -166,7 +166,7 @@ _gen_ChangeId() { git hash-object -t commit --stdin } -if ! grep -qi '^[[:space:]]*Signed-off-by:' "$MSG"; then +if ! grep -qi '^[[:space:]]*Signed-off-by:.\+<.\+@.\+>' "$MSG"; then printf "\nError: No Signed-off-by line in the commit message.\n" exit 1 fi |