From: Peter Munch Date: Wed, 6 Nov 2019 06:28:45 +0000 (+0100) Subject: Add a hint to the indention script X-Git-Tag: v9.2.0-rc1~907^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3728c0a0fca577fa473a9bb650f61e0ab6a5d9f;p=dealii.git Add a hint to the indention script --- diff --git a/contrib/utilities/indent_common.sh b/contrib/utilities/indent_common.sh index 1c6d8e0a09..43b3eaeb30 100644 --- a/contrib/utilities/indent_common.sh +++ b/contrib/utilities/indent_common.sh @@ -86,6 +86,9 @@ checks() { words=($name) if [ "${#words[@]}" -lt "2" ]; then echo "invalid author '$name' without firstname and lastname" + echo "" + echo "hint: for possible solutions, consult the webpage:" + echo " https://github.com/dealii/dealii/wiki/Indentation#commit-authorship" exit 2 fi done || exit 2 @@ -95,10 +98,16 @@ checks() { words=($name) if ! echo "$email" | grep -q "\."; then echo "invalid email '$email'" + echo "" + echo "hint: for possible solutions, consult the webpage:" + echo " https://github.com/dealii/dealii/wiki/Indentation#commit-authorship" exit 3 fi if ! echo "$email" | grep -q -v -e "\.local$"; then echo "invalid email '$email'" + echo "" + echo "hint: for possible solutions, consult the webpage:" + echo " https://github.com/dealii/dealii/wiki/Indentation#commit-authorship" exit 3 fi done || exit 3