Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 24, 2017
1 parent 628a60b commit 5261a9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/prepare-commit.sh
Expand Up @@ -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)
Expand Down

0 comments on commit 5261a9a

Please sign in to comment.