Attention is currently required from: Zheng Bao.
Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/73340
to review the following change.
Change subject: commit-msg: Match the Signed-off-by line with name and mail address ......................................................................
commit-msg: Match the Signed-off-by line with name and mail address
Change-Id: I42cc399e79b65928a6aef87c51e5476c7158d166 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M util/gitconfig/commit-msg 1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/73340/1
diff --git a/util/gitconfig/commit-msg b/util/gitconfig/commit-msg index 99c8941..08f04ff 100755 --- a/util/gitconfig/commit-msg +++ b/util/gitconfig/commit-msg @@ -166,7 +166,7 @@ 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