From c3728c0a0fca577fa473a9bb650f61e0ab6a5d9f Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Wed, 6 Nov 2019 07:28:45 +0100 Subject: [PATCH] Add a hint to the indention script --- contrib/utilities/indent_common.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.5