New hooks: find-data-files to ensure that data files are not added
make-sure-hooks-synced to ensure that hooks are committed consistently to checker. Updates to README.md to document standard directories Adding Resources as standard files for all repos to consume.
This commit is contained in:
Executable
+4
@@ -0,0 +1,4 @@
|
||||
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
|
||||
Reference in New Issue
Block a user