DO NOT require authenticated URL for gerrit hook 29/12329/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 20 Aug 2018 16:51:35 +0000 (12:51 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 20 Aug 2018 16:51:41 +0000 (12:51 -0400)
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 <thanh.ha@linuxfoundation.org>
docs/_static/commit-hook-curl.example

index f345edd..346b4a4 100644 (file)
@@ -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