User:Evilpie/commit-restrictions: Difference between revisions

Line 53: Line 53:
</pre>
</pre>
You probably need to add good_commit_message to your Python path
You probably need to add good_commit_message to your Python path
<pre>  
<pre>
export PYTHONPATH = ~/myhooks # assuming good_commit_message.py is in this folder
export PYTHONPATH = ~/myhooks # assuming good_commit_message.py is in this folder
</pre>
</pre>
You can also edit good_commit_message.py to abort commits instead of warning.
You can also edit good_commit_message.py to abort commits instead of warning.
Confirmed users
149

edits