From: Miklos Vajna Date: Wed, 02 Apr 2008 19:34:55 GMT Subject: [PATCH 2/3] Documentation/hooks: add pre-auto-gc hook Message-ID: <878a46b80a7b9129b520b522a3f35237c1a01f79.1207164676.git.vmiklos@frugalware.org> In-Reply-To: <7vtzik848t.fsf@gitster.siamese.dyndns.org> Signed-off-by: Miklos Vajna --- Documentation/hooks.txt | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt index 76b8d77..44fbe58 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. -- 1.5.5.rc2.4.gec07.dirty