From c1ae95f6f55168a15a7cf359c1d4c5f1d4b04c01 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Fri, 1 Dec 2023 23:49:35 +0100 Subject: [PATCH] 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 Reported-by: Rolf Nooteboom Reviewed-on: https://review.openocd.org/c/openocd/+/8034 Tested-by: jenkins Reviewed-by: Paul Fertser --- HACKING | 4 ---- 1 file changed, 4 deletions(-) diff --git a/HACKING b/HACKING index fbc0eae93..74cbe02e7 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 -- 2.11.4.GIT