Browse files

Mention the envvar GIT_HOOKS_VERBOSE to help debug hooks that exit wi…

…th non-zero, but don't output an error

Signed-off-by: Benjamin C Meyer <>
  • Loading branch information...
icefox committed Jun 19, 2010
1 parent c07c99d commit 536997d6d30467e2e9e401cca2cf6e7daa499665
Showing with 6 additions and 0 deletions.
  1. +6 −0 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.
+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

0 comments on commit 536997d

Please sign in to comment.