зеркало из https://github.com/microsoft/git.git
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:
Родитель
bde3054016
Коммит
0b85d92661
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче