From: Antonio Borneo Date: Fri, 1 Dec 2023 22:49:35 +0000 (+0100) Subject: HACKING: fix how to retrieve hooks/commit-msg X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F34%2F8034%2F2;p=openocd.git 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 --- diff --git a/HACKING b/HACKING index fbc0eae939..74cbe02e74 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