From: Thanh Ha Date: Mon, 20 Aug 2018 16:51:35 +0000 (-0400) Subject: DO NOT require authenticated URL for gerrit hook X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=f107761bd0ba11ade4fb4dd6fb80e713e124c48a;p=releng%2Fdocs.git DO NOT require authenticated URL for gerrit hook Fetching the commit-msg hook does not require the authenticated URL. So remove authentication. Also recommend the https port. Change-Id: I35ac5eac44301cba7161153ee1646df26c11f5fd Signed-off-by: Thanh Ha --- diff --git a/docs/_static/commit-hook-curl.example b/docs/_static/commit-hook-curl.example index f345edd..346b4a4 100644 --- a/docs/_static/commit-hook-curl.example +++ b/docs/_static/commit-hook-curl.example @@ -1 +1 @@ - curl -Lo .git/hooks/commit-msg http://USERNAME@gerrit.linuxfoundation.org/infra/tools/hooks/commit-msg + curl -Lo .git/hooks/commit-msg https://gerrit.linuxfoundation.org/infra/tools/hooks/commit-msg