Skip to content

Commit

Permalink
githooks.txt: use correct "reference-transaction" hook name
Browse files Browse the repository at this point in the history
The "reference transaction" hook was introduced in commit 6754159
(refs: implement reference transaction hook, 2020-06-19). The name of
the hook is declared as "reference-transaction" in "refs.c" and
testcases, but the name declared in "githooks.txt" is different.

Signed-off-by: Bojun Chen <[email protected]>
Reviewed-by: Patrick Steinhardt <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
0xd219b authored and gitster committed Jul 24, 2020
1 parent 6754159 commit 6c18d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/githooks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ Both standard output and standard error output are forwarded to
`git send-pack` on the other end, so you can simply `echo` messages
for the user.

ref-transaction
~~~~~~~~~~~~~~~
reference-transaction
~~~~~~~~~~~~~~~~~~~~~

This hook is invoked by any Git command that performs reference
updates. It executes whenever a reference transaction is prepared,
Expand Down

0 comments on commit 6c18d03

Please sign in to comment.