@matheusbsbs / matheus-bagliano / commits / 6c18d03eb8
Fork 0

githooks.txt: use correct "reference-transaction" hook name

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>

Bojun Chen committed Jul 24, 2020 at 13:57 UTC 6c18d03eb833bb76d0072373bd064e469a022d4f
1 file changed +2 -2
Documentation/githooks.txt
+2 -2
@@ -404,8 +404,8 @@ Both standard output and standard error output are forwarded to
404 `git send-pack` on the other end, so you can simply `echo` messages
405 for the user.
406
407 -ref-transaction
408 -~~~~~~~~~~~~~~~
407 +reference-transaction
408 +~~~~~~~~~~~~~~~~~~~~~
409
410 This hook is invoked by any Git command that performs reference
411 updates. It executes whenever a reference transaction is prepared,