aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-12-01 23:49:35 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2023-12-10 13:37:11 +0000
commitc1ae95f6f55168a15a7cf359c1d4c5f1d4b04c01 (patch)
tree2c001b4b681b74ec403e20f6793850e70f4d1f6b
parent5f6b25aa91eb81903aed128ee304ffc69e0492f3 (diff)
downloadriscv-openocd-c1ae95f6f55168a15a7cf359c1d4c5f1d4b04c01.zip
riscv-openocd-c1ae95f6f55168a15a7cf359c1d4c5f1d4b04c01.tar.gz
riscv-openocd-c1ae95f6f55168a15a7cf359c1d4c5f1d4b04c01.tar.bz2
HACKING: fix how to retrieve hooks/commit-msg
Probably due to new version of gerrit, the download of the gerrit hooks via scp is not working anymore. Also the instructions available, after login, in https://review.openocd.org/admin/repos/openocd,general report that the hook file has to be downloaded via https also when the user want to use ssh for gerrit access. Drop scp in the suggestions to download the hook file and keep https download only. Change-Id: I0c8e5bb61ed8c7423a42a0d5d92866e071a814bb Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reported-by: Rolf Nooteboom <rolf@Onethinx.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8034 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
-rw-r--r--HACKING4
1 files changed, 0 insertions, 4 deletions
diff --git a/HACKING b/HACKING
index fbc0eae..74cbe02 100644
--- a/HACKING
+++ b/HACKING
@@ -155,10 +155,6 @@ topics. It is possible because @c for/master is not a traditional Git
branch.
-# You will need to install this hook, we will look into a better solution:
@code
-scp -p -P 29418 USERNAME@review.openocd.org:hooks/commit-msg .git/hooks/
-@endcode
- Or with http only:
-@code
wget https://review.openocd.org/tools/hooks/commit-msg
mv commit-msg .git/hooks
chmod +x .git/hooks/commit-msg