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

5 lines
166 B
Plaintext
Raw Normal View History

2025-09-29 16:33:05 -05:00
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