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:
Miklos Vajna 2008-04-02 21:34:55 +02:00 коммит произвёл Junio C Hamano
Родитель bde3054016
Коммит 0b85d92661
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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.