Skip to content

Commit 6c18d03

Browse files
0xd219bgitster
authored andcommitted
githooks.txt: use correct "reference-transaction" hook name
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]>
1 parent 6754159 commit 6c18d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/githooks.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ Both standard output and standard error output are forwarded to
404404
`git send-pack` on the other end, so you can simply `echo` messages
405405
for the user.
406406

407-
ref-transaction
408-
~~~~~~~~~~~~~~~
407+
reference-transaction
408+
~~~~~~~~~~~~~~~~~~~~~
409409

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

0 commit comments

Comments
 (0)