summaryrefslogtreecommitdiff
path: root/Documentation/git-gc.txt
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2010-06-30 20:41:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-07-02 17:41:20 (GMT)
commit66bd8ab899d442926ad45d63cd5ad63ab5bb81b2 (patch)
tree857db0ed4e6e71e6b1dd8619fc5f3196ec3436d2 /Documentation/git-gc.txt
parenta1463920565c67646507dc573d3f5280fa4cdcf3 (diff)
downloadgit-66bd8ab899d442926ad45d63cd5ad63ab5bb81b2.zip
git-66bd8ab899d442926ad45d63cd5ad63ab5bb81b2.tar.gz
git-66bd8ab899d442926ad45d63cd5ad63ab5bb81b2.tar.bz2
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/git-gc.txt')
-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 189573a..cbe74d5 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]