Confirmed users
149
edits
| Line 48: | Line 48: | ||
export PYTHONPATH = ~/myhooks # assuming good_commit_messages.py is in this folder | export PYTHONPATH = ~/myhooks # assuming good_commit_messages.py is in this folder | ||
</pre> | </pre> | ||
You can also edit good_commit_messages.py to abort commits instead of warning. Search for | You can also edit good_commit_messages.py to abort commits instead of warning. Search for "fail not warn" (without the quotes" in the the file and change 0 to 1. | ||