Adding a line to show that a local script is running
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
if [ -d precommit-hooks ]; then
|
if [ -d precommit-hooks ]; then
|
||||||
for script in `find precommit-hooks -type f`; do
|
for script in `find precommit-hooks -type f`; do
|
||||||
|
echo Running "$script"
|
||||||
if ! bash "$script"; then
|
if ! bash "$script"; then
|
||||||
echo "Local script $script failed checks."
|
echo "Local script $script failed checks."
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user