@matheusbsbs / matheus-bagliano / commits / 66bd8ab899
Fork 0

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>

Chris Packham committed Jun 30, 2010 at 13:41 UTC 66bd8ab899d442926ad45d63cd5ad63ab5bb81b2
1 file changed +7
Documentation/git-gc.txt
+7
@@ -127,6 +127,13 @@ If you are expecting some objects to be collected and they aren't, check
127 all of those locations and decide whether it makes sense in your case to
128 remove those references.
129
130 +HOOKS
131 +-----
132 +
133 +The 'git gc --auto' command will run the 'pre-auto-gc' hook. See
134 +linkgit:githooks[5] for more information.
135 +
136 +
137 SEE ALSO
138 --------
139 linkgit:git-prune[1]