diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-16 10:54:53 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-08-16 10:55:22 +0100 |
commit | a2194d100a5287f5c262ffbf1d8f25e6742b108d (patch) | |
tree | 59f5b9c9365966e928c0522697d5096cafb69740 /bin | |
parent | a05f568921098c6ea72797a25c1dd85fe33bcdc7 (diff) | |
download | gitano-a2194d100a5287f5c262ffbf1d8f25e6742b108d.tar.gz |
GITANO: More debug statements related to hooks
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gitano-post-receive-hook | 3 | ||||
-rw-r--r-- | bin/gitano-update-hook | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/gitano-post-receive-hook b/bin/gitano-post-receive-hook index 9ac4df8..61c07dc 100644 --- a/bin/gitano-post-receive-hook +++ b/bin/gitano-post-receive-hook @@ -116,8 +116,9 @@ if repo.name == "gitano-admin" and updates[admin_repo.HEAD] then end if repo:uses_hook("post-receive") then - gitano.log.info("Running repository post-receive hook") + gitano.log.debug("Configuring for post-receive hook") gitano.actions.set_supple_globals("post-receive") + gitano.log.info("Running repository post-receive hook") local ok, msg = gitano.supple.run_hook(repo, "post-receive", updates) if not ok then gitano.log.crit(msg or "No reason given, but errored somehow.") diff --git a/bin/gitano-update-hook b/bin/gitano-update-hook index 12ac4ac..431bd3c 100644 --- a/bin/gitano-update-hook +++ b/bin/gitano-update-hook @@ -247,8 +247,9 @@ if not allow then end if repo:uses_hook("update") then - gitano.log.info("Running repository update hook") + gitano.log.debug("Configuring for update hook") gitano.actions.set_supple_globals("update") + gitano.log.info("Running repository update hook") local ok, msg = gitano.supple.run_hook(repo, "update", refname, oldsha, newsha) if not ok then |