Files
Uniglot/Hooks/scripts.d/make-sure-hooks-synced

5 lines
189 B
Plaintext
Raw Normal View History

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