Skip to content

Commit

Permalink
Documentation/git-gc.txt: add reference to githooks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cpackham authored and gitster committed Jul 2, 2010
1 parent a146392 commit 66bd8ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/git-gc.txt
Expand Up @@ -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]
Expand Down

0 comments on commit 66bd8ab

Please sign in to comment.