summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-04-02 19:34:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-04-09 08:31:13 (GMT)
commit0b85d92661e215915fcca8fcff8953e4762733e2 (patch)
tree31142b0c497d6f1fe74b37691502a1e34f40a6e9 /Documentation
parentbde30540169dd625cbd862ff6f38bc8224ec081c (diff)
downloadgit-0b85d92661e215915fcca8fcff8953e4762733e2.zip
git-0b85d92661e215915fcca8fcff8953e4762733e2.tar.gz
git-0b85d92661e215915fcca8fcff8953e4762733e2.tar.bz2
Documentation/hooks: add pre-auto-gc hook
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/hooks.txt7
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.