From 66bd8ab899d442926ad45d63cd5ad63ab5bb81b2 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Wed, 30 Jun 2010 13:41:27 -0700 Subject: [PATCH] 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 --- Documentation/git-gc.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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] -- 2.26.2