Skip to content

Commit 66bd8ab

Browse files
cpackhamgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a146392 commit 66bd8ab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/git-gc.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@ If you are expecting some objects to be collected and they aren't, check
127127
all of those locations and decide whether it makes sense in your case to
128128
remove those references.
129129

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+
130137
SEE ALSO
131138
--------
132139
linkgit:git-prune[1]

0 commit comments

Comments
 (0)