From: Miklos Vajna Date: Wed, 2 Apr 2008 19:34:55 +0000 (+0200) Subject: Documentation/hooks: add pre-auto-gc hook X-Git-Tag: v1.5.6-rc0~136^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0b85d92661e215915fcca8fcff8953e4762733e2;p=git.git Documentation/hooks: add pre-auto-gc hook Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt index 76b8d7746..44fbe58f2 100644 --- a/Documentation/hooks.txt +++ b/Documentation/hooks.txt @@ -276,3 +276,10 @@ probably enable this hook. Both standard output and standard error output are forwarded to `git-send-pack` on the other end, so you can simply `echo` messages for the user. + +pre-auto-gc +----------- + +This hook is invoked by `git-gc --auto`. It takes no parameter, and +exiting with non-zero status from this script causes the `git-gc --auto` +to abort.