From 2133929fbf1a6f8571fde76318d9874d1187f2e1 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 16 Oct 2023 10:23:57 +0100 Subject: docs(REVIEWS): update commit-msg hook instructions Gerrit instructions now recommend fetching the commit-msg hook via HTTP in all three cases, we should do the same. Change-Id: I12d5784ccacd3ea68fb81fc15508b209a22cd2c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9745 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: lukegb --- docs/REVIEWS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/REVIEWS.md b/docs/REVIEWS.md index fd36b927d2..d76f11f410 100644 --- a/docs/REVIEWS.md +++ b/docs/REVIEWS.md @@ -35,7 +35,8 @@ a commit hook should be installed as follows: ``` git clone "ssh://$USER@code.tvl.fyi:29418/depot" -scp -pOP 29418 $USER@code.tvl.fyi:hooks/commit-msg "depot/.git/hooks/" +curl -Lo depot/.git/hooks/commit-msg https://cl.tvl.fyi/tools/hooks/commit-msg +chmod +x depot/.git/hooks/commit-msg ``` If you have a previous clone of the depot via HTTP you can use `git remote -- cgit 1.4.1