]> gitweb.fluxo.info Git - git-hooks.git/commitdiff
Mention the envvar GIT_HOOKS_VERBOSE to help debug hooks that exit with non-zero...
authorBenjamin C Meyer <ben@meyerhome.net>
Sat, 19 Jun 2010 17:54:02 +0000 (13:54 -0400)
committerBenjamin C Meyer <ben@meyerhome.net>
Sat, 19 Jun 2010 17:54:02 +0000 (13:54 -0400)
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
README

diff --git a/README b/README
index dbd05732dd50705294e9089a7a9a0acfb8b4773a..3cd593dfdb52aaeee7fd33ef79fdd906f8d9b5e0 100644 (file)
--- a/README
+++ b/README
@@ -53,3 +53,9 @@ git_hooks/pre-commit/bsd
 
 When you run 'git hooks' with no arguments it will list all of the hooks installed on the system.  It will run the hooks with the --about argument to generate the description that is shown.  Checkout the hooks in contrib for some examples.
 
+************************************
+Debugging
+
+When GIT_HOOKS_VERBOSE is set git-hooks will output each hook as it is run so you can trouble shoot hooks that don't report errors, but exit with non-zero.
+
+GIT_HOOKS_VERBOSE=1 git commit