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>
This commit is contained in:
parent
5f6b25aa91
commit
c1ae95f6f5
4
HACKING
4
HACKING
|
@ -155,10 +155,6 @@ topics. It is possible because @c for/master is not a traditional Git
|
||||||
branch.
|
branch.
|
||||||
-# You will need to install this hook, we will look into a better solution:
|
-# You will need to install this hook, we will look into a better solution:
|
||||||
@code
|
@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
|
wget https://review.openocd.org/tools/hooks/commit-msg
|
||||||
mv commit-msg .git/hooks
|
mv commit-msg .git/hooks
|
||||||
chmod +x .git/hooks/commit-msg
|
chmod +x .git/hooks/commit-msg
|
||||||
|
|
Loading…
Reference in New Issue