summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Chris Packham <judge.packham@gmail.com>2010-06-30 13:41:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-07-02 10:41:20 -0700
commit66bd8ab899d442926ad45d63cd5ad63ab5bb81b2 (patch)
tree857db0ed4e6e71e6b1dd8619fc5f3196ec3436d2 /Documentation
parentGit 1.7.1.1 (diff)
downloadtgif-66bd8ab899d442926ad45d63cd5ad63ab5bb81b2.tar.xz
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 <judge.packham@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-gc.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
index 189573a3b3..cbe74d531a 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]