From: Chris Packham Date: Wed, 30 Jun 2010 20:41:27 +0000 (-0700) Subject: Documentation/git-gc.txt: add reference to githooks X-Git-Tag: v1.7.2-rc2~8^2~2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=66bd8ab899d442926ad45d63cd5ad63ab5bb81b2;p=git.git Documentation/git-gc.txt: add reference to githooks This advertises the existence of the 'pre-auto-gc' hook and adds a cross reference to where the hook is documented. Signed-off-by: Chris Packham Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt index 189573a3b..cbe74d531 100644 --- a/Documentation/git-gc.txt +++ b/Documentation/git-gc.txt @@ -127,6 +127,13 @@ If you are expecting some objects to be collected and they aren't, check all of those locations and decide whether it makes sense in your case to remove those references. +HOOKS +----- + +The 'git gc --auto' command will run the 'pre-auto-gc' hook. See +linkgit:githooks[5] for more information. + + SEE ALSO -------- linkgit:git-prune[1]