about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-16T09·23+0100
committerclbot <clbot@tvl.fyi>2023-10-16T10·42+0000
commit2133929fbf1a6f8571fde76318d9874d1187f2e1 (patch)
tree933ec4bb8279fcc72fa01fa33b9a56a4ae9575c6 /docs
parent70b4eadb5f257d94b2f5f8dbaaf712f1a5c962c7 (diff)
docs(REVIEWS): update commit-msg hook instructions r/6822
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 <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'docs')
-rw-r--r--docs/REVIEWS.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/REVIEWS.md b/docs/REVIEWS.md
index fd36b927d264..d76f11f41074 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