Documentation/hooks: add pre-auto-gc hook
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
bde3054016
commit
0b85d92661
@ -276,3 +276,10 @@ probably enable this hook.
|
|||||||
Both standard output and standard error output are forwarded to
|
Both standard output and standard error output are forwarded to
|
||||||
`git-send-pack` on the other end, so you can simply `echo` messages
|
`git-send-pack` on the other end, so you can simply `echo` messages
|
||||||
for the user.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user