projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde3054
)
Documentation/hooks: add pre-auto-gc hook
author
Miklos Vajna
<vmiklos@frugalware.org>
Wed, 2 Apr 2008 19:34:55 +0000
(21:34 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 9 Apr 2008 08:31:13 +0000
(
01:31
-0700)
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/hooks.txt
patch
|
blob
|
history
diff --git
a/Documentation/hooks.txt
b/Documentation/hooks.txt
index 76b8d77460e961fda9a5505a4ce0cf20788de133..44fbe58f20701291c0a43779fe0db826185f4322 100644
(file)
--- 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.