From: Bojun Chen Date: Fri, 24 Jul 2020 13:57:57 +0000 (+0000) Subject: githooks.txt: use correct "reference-transaction" hook name X-Git-Tag: v2.28.0~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c18d03eb833bb76d0072373bd064e469a022d4f;p=thirdparty%2Fgit.git 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 Reviewed-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt index 642471109f..31b601e4bc 100644 --- a/Documentation/githooks.txt +++ b/Documentation/githooks.txt @@ -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,