From: martin f. krafft Date: Tue, 23 Apr 2013 08:39:03 +0000 (+0200) Subject: Hide hook execution messages unless verbose X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/3c5922ad79eaa7cf48fc4f7671544af6f99d3516 Hide hook execution messages unless verbose I don't think information about which hooks are run should be shown unless -v is given. Signed-off-by: martin f. krafft --- diff --git a/vcsh b/vcsh index 9b1a558..599d118 100755 --- a/vcsh +++ b/vcsh @@ -171,7 +171,7 @@ git_dir_exists() { hook() { for hook in $VCSH_HOOK_D/$1* $VCSH_HOOK_D/$VCSH_REPO_NAME.$1*; do [ -x "$hook" ] || continue - info "executing '$hook'" + verbose "executing '$hook'" "$hook" done }