commit 0a52a5b68c0437afd0f346a0bc782754341a1260 parent 61598ee59587cbd929f8d66a4acea8ef6a87e30f Author: Felicitus <felicitus@felicitus.org> Date: Mon, 16 Nov 2015 21:02:54 +0100 Removed legacy hook Diffstat:
D | pre-commit.hook | | | 20 | -------------------- |
1 file changed, 0 insertions(+), 20 deletions(-)
diff --git a/pre-commit.hook b/pre-commit.hook @@ -1,20 +0,0 @@ -#!/bin/sh -# -# PartKeepr pre-commit hook. -# Checks if everything looks well before comitting - -RESULT=`phing pre-commit` - -RETVAL=$? - -if [ $RETVAL -ne 0 ]; then - echo "phing pre-commit finished with errors. Please check the output of 'phing pre-commit' manually." - exit 254 -fi; - -NUM=`echo $RESULT | grep -i "warning" | wc -l` - -if [ $NUM -ne 0 ]; then - echo "phing pre-commit finished with warnings. Please check the output manually." - exit 254 -fi;