Commit a76dd34d authored by Mark Olesen's avatar Mark Olesen
Browse files

Adjust bin/tools/pre-commit-hook to avoid triggering pre-receive hook

parent cd28a4fb
......@@ -93,8 +93,8 @@ showBadFiles()
checkIllegalCode()
{
TAB=$'\t'
BAD=("Nabla" "$TAB")
BADmsg=("Nabla" "<TAB>")
BAD=("[N]abla" "$TAB")
BADmsg=("nabla" "<TAB>")
n=${#BAD[@]};
unset errorType
......@@ -170,7 +170,7 @@ checkLineLength()
# use builtin whitespace checks to avoid trailing space
bad=$(git diff-index --check --cached $against --) || die "$bad"
# check for illegal code, e.g. <TAB>, Nabla etc
# check for illegal code, e.g. <TAB>, nabla etc
checkIllegalCode
# if OpenCFD copyright exists, ensure it contains correct year
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment