From: Benjamin C Meyer Date: Sat, 19 Jun 2010 20:03:32 +0000 (-0400) Subject: If the hooks are installed or not is important, put it on its own line in the output X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f4c3eb901856581d1441ba3b3a6698bae6fbb4f3;p=git-hooks.git If the hooks are installed or not is important, put it on its own line in the output Signed-off-by: Benjamin C Meyer --- diff --git a/git-hooks b/git-hooks index 2756b5c..44f706d 100755 --- a/git-hooks +++ b/git-hooks @@ -116,12 +116,14 @@ function list_hooks done cat .git/hooks/pre-commit | grep 'git-hooks' > /dev/null 2> /dev/null if [ $? = 0 ] ; then - echo -n "Git hooks ARE installed in this repository." + echo "Git hooks ARE installed in this repository." + echo "" else - echo -n "Git hooks are NOT installed in this repository." + echo "Git hooks are NOT installed in this repository." + echo "" fi - echo ' Listing User, Project, and Global hooks:' + echo 'Listing User, Project, and Global hooks:' echo '---' for dir in `hook_dirs`; do echo "${dir}:"