From 8eab8ea6ff6f1c90e144c34f4274d957ab7a40ea Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 1 Dec 2011 22:30:06 +0100 Subject: //assets: add deploy script update pre-commit to not automagically fix the indentation and sorting --- assets/hooks/pre-commit | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'assets/hooks/pre-commit') diff --git a/assets/hooks/pre-commit b/assets/hooks/pre-commit index b1be0867..16a5cebc 100755 --- a/assets/hooks/pre-commit +++ b/assets/hooks/pre-commit @@ -8,11 +8,12 @@ cat $DB | python -m json.tool > $TMP RET=$? if [ "$RET" = "0" ]; then - echo "** Check succeeded" + echo "** Database sanity verified" git add $DB - mv $TMP $DB + #mv $TMP $DB else - echo "!! database insane!" + echo "!! Database insane" cat $TMP fi +rm $TMP exit $RET -- cgit v1.2.3