]> git.madduck.net Git - code/vcsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Hide hook execution messages unless verbose
authormartin f. krafft <madduck@madduck.net>
Tue, 23 Apr 2013 08:39:03 +0000 (10:39 +0200)
committerRichard Hartmann <richih.mailinglist@gmail.com>
Tue, 23 Apr 2013 09:24:03 +0000 (11:24 +0200)
I don't think information about which hooks are run should be shown
unless -v is given.

Signed-off-by: martin f. krafft <madduck@madduck.net>
vcsh

diff --git a/vcsh b/vcsh
index 9b1a5588b5b8732c363cb4b4f5235b81fdfbd5e7..599d1187a899a7513742010da9b0d67c4e0b1ad6 100755 (executable)
--- 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
 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
 }
                "$hook"
        done
 }