]> git.ipfire.org Git - thirdparty/git.git/commitdiff
githooks.txt: use correct "reference-transaction" hook name
authorBojun Chen <bojun.cbj@alibaba-inc.com>
Fri, 24 Jul 2020 13:57:57 +0000 (13:57 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Jul 2020 20:53:58 +0000 (13:53 -0700)
The "reference transaction" hook was introduced in commit 6754159767
(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 <bojun.cbj@alibaba-inc.com>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/githooks.txt

index 642471109f70c202ce214b4b3dd2b3fd7aa98c69..31b601e4bce9c9fbb7f96f2f5308d0166f92f999 100644 (file)
@@ -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,