diff options
Diffstat (limited to 'hooks/post-commit')
| -rwxr-xr-x | hooks/post-commit | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/hooks/post-commit b/hooks/post-commit deleted file mode 100755 index e84601e..0000000 --- a/hooks/post-commit +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [ -f .UPDATING_COUNT ] -then - exit 0 -fi - -echo "Checking word count…" - -./update-count.sh - -if git diff --quiet --exit-code -- README.md -then - exit 0 -fi - -touch .UPDATING_COUNT -git commit --amend --no-edit -- README.md -rm .UPDATING_COUNT |
