Files
Kapisi/precommit-hooks/make-sure-hooks-synced

5 lines
166 B
Plaintext

if [ `git ls-files -m | grep precommit-hooks/ | wc -l` != '0' ]; then
echo 'Hooks have changed and need to be added. Run `git add precommit-hooks`'
exit 1
fi