<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20920">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lint: update commit message check<br><br>- Update the commit message check from a lint-stable test to a<br>lint-extended test.<br>- Add the check for signed-off-by to the commit-msg hook<br><br>Change-Id: I8be8aef25730d988c7cf1586ae66ecb839d5f756<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M util/gitconfig/commit-msg<br>R util/lint/lint-extended-020-signed-off-by<br>2 files changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/20920/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/util/gitconfig/commit-msg b/util/gitconfig/commit-msg<br>index 82f0581..2eef752 100755<br>--- a/util/gitconfig/commit-msg<br>+++ b/util/gitconfig/commit-msg<br>@@ -169,5 +169,8 @@<br>       git hash-object -t commit --stdin<br> }<br> <br>-<br>+if ! grep -qi '^[[:space:]]*\+Signed-off-by:' "$MSG"; then<br>+   printf "\nError: No Signed-off-by line in the commit message.\n"<br>+   exit 1<br>+fi<br> add_ChangeId<br>diff --git a/util/lint/lint-stable-020-signed-off-by b/util/lint/lint-extended-020-signed-off-by<br>similarity index 100%<br>rename from util/lint/lint-stable-020-signed-off-by<br>rename to util/lint/lint-extended-020-signed-off-by<br></pre><p>To view, visit <a href="https://review.coreboot.org/20920">change 20920</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/20920"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I8be8aef25730d988c7cf1586ae66ecb839d5f756 </div>
<div style="display:none"> Gerrit-Change-Number: 20920 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>