about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-02-08T18·02+0000
committerAlyssa Ross <hi@alyssa.is>2023-02-10T15·15+0000
commitc4ade691e1d92f3f03974bacc1077cce6d8309bf (patch)
treed3f5bd59ba036ab6e7799153724aff6324d5467e /docs
parent08b300aaa8fe8ad83b6622213a99b1a8f96a36ce (diff)
docs(REVIEWS): update scp command r/5845
cl.tvl.fyi only supports the legacy scp protocol, not the sftp
protocol that recent versions of OpenSSH now use by default.  So we
need to pass -O to tell it to use scp.

Cc: Vincent Ambo <mail@tazj.in>
Change-Id: I2dcae77fef9126f4f8eebfa574c5a345a5c56615
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8039
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'docs')
-rw-r--r--docs/REVIEWS.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/REVIEWS.md b/docs/REVIEWS.md
index 1cb228b86b5c..7f72d81d9a9f 100644
--- a/docs/REVIEWS.md
+++ b/docs/REVIEWS.md
@@ -35,7 +35,7 @@ a commit hook should be installed as follows:
 
 ```
 git clone "ssh://$USER@code.tvl.fyi:29418/depot"
-scp -p -P 29418 $USER@code.tvl.fyi:hooks/commit-msg "depot/.git/hooks/"
+scp -pOP 29418 $USER@code.tvl.fyi:hooks/commit-msg "depot/.git/hooks/"
 ```
 
 If you have a previous clone of the depot via HTTP you can use `git remote