Skip to content
Permalink
Browse files

Disable spell check in prepare-commit.sh

The spell check slows down the pre-commit hook a lot. Spell checking
will still be done on travis.
  • Loading branch information
m-kuhn committed Oct 17, 2017
1 parent 628a60b commit 5261a9a5df53b6d53644ecee801f7120bacbf02c
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/prepare-commit.sh
@@ -57,7 +57,8 @@ if [ -z "$MODIFIED" ]; then
exit 0
fi

[ -x ${TOPLEVEL}/scripts/spell_check/check_spelling.sh ] && ${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED
if [[ -n "$QGIS_CHECK_SPELLING" && -x ${TOPLEVEL}/scripts/spell_check/check_spelling.sh ]]; then ${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED; fi


# save original changes
REV=$(git log -n1 --pretty=%H)

0 comments on commit 5261a9a

Please sign in to comment.
You can’t perform that action at this time.