index 76b8d77460e961fda9a5505a4ce0cf20788de133..44fbe58f20701291c0a43779fe0db826185f4322 100644 (file)
--- a/Documentation/hooks.txt
+++ b/Documentation/hooks.txt
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.