diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-03-17 10:42:57 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-20 11:14:23 -0400 |
commit | 9ebb5f895658864ecaf3b1d02b64414ebe4f2215 (patch) | |
tree | 5c2b15b80b693fefeff7f08e841fff6748f0725c /src/build/tools | |
parent | db18489a8cf55c2b3f01e98577ec2be5c3045aa6 (diff) | |
download | talos-hostboot-9ebb5f895658864ecaf3b1d02b64414ebe4f2215.tar.gz talos-hostboot-9ebb5f895658864ecaf3b1d02b64414ebe4f2215.zip |
Allow URLs in commit messages
Changed the commit verifier to not think that URLs are tags
Change-Id: I115918b86617c368e5feb835fde88d2b5234e117
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38103
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: STEWART E. SMITH <stewart@linux.vnet.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/tools')
-rwxr-xr-x | src/build/tools/verify-commit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build/tools/verify-commit b/src/build/tools/verify-commit index 7e346f95b..146cabcde 100755 --- a/src/build/tools/verify-commit +++ b/src/build/tools/verify-commit @@ -341,7 +341,8 @@ sub verifyCommitMsg # Identify if this is a tagged line or a non-tagged line and store # away. - if ($line =~ m/^\s*[A-Za-z0-9\-_]+:[^:]/) + if ( ($line =~ m/^\s*[A-Za-z0-9\-_]+:[^:]/) + && !($line =~ m/http/) ) { # We allow lines that look like tags in the topic like... # "FOO: Adding support for BAR." |