diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-05-18 21:58:41 -0400 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-05-18 21:58:41 -0400 |
| commit | 85d0d4592881b0c301b04b9024b9a2ea31040b40 (patch) | |
| tree | e47b639399a47bfc83ac7abbef775289f97109c8 /.git-pre-commit | |
| parent | 05a8806db9334ba9991928f817fbe66fc3b51687 (diff) | |
| download | psutil-85d0d4592881b0c301b04b9024b9a2ea31040b40.tar.gz | |
git-hooks: include the new file in MANIFEST.in and use --force when creating the symlink (instead of removing it first)
Diffstat (limited to '.git-pre-commit')
| -rwxr-xr-x | .git-pre-commit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.git-pre-commit b/.git-pre-commit index ce209f43..3a6161f4 100755 --- a/.git-pre-commit +++ b/.git-pre-commit @@ -1,5 +1,9 @@ #!/usr/bin/env python +# This gets executed on 'git commit' and rejects the commit in case the +# submitted code does not pass validation. +# Install it with "make install-git-hooks" + import os import subprocess import sys |
