Skip to content

Commit

Permalink
HACKING: fix how to retrieve hooks/commit-msg
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reported-by: Rolf Nooteboom <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/8034
Tested-by: jenkins
Reviewed-by: Paul Fertser <[email protected]>
  • Loading branch information
borneoa committed Dec 10, 2023
1 parent 5f6b25a commit c1ae95f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions HACKING
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]: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
Expand Down

0 comments on commit c1ae95f

Please sign in to comment.