Browse Source

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>
maint
Chris Packham 15 years ago committed by Junio C Hamano
parent
commit
66bd8ab899
  1. 7
      Documentation/git-gc.txt

7
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 all of those locations and decide whether it makes sense in your case to
remove those references. 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 SEE ALSO
-------- --------
linkgit:git-prune[1] linkgit:git-prune[1]

Loading…
Cancel
Save