You have to download it from your server with scp or curl.
See:
https://gerrit-review.googlesource.com/Documentation/cmd-hook-commit-msg.html#_obtaining
John--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You have to download it from your server with scp or curl.
See:
https://gerrit-review.googlesource.com/Documentation/cmd-hook-commit-msg.html#_obtaining
On Sun, 28 Dec 2014 19:33 null <jo...@norricorp.f9.co.uk> wrote:
Hi,
I installed gerrit from 2.9.3 (the latest version) and can not find a tools directory or a commit-msg hook anywhere. Hence I can not down load it to my clone of a gerrit generated git repository (project).
As you can probably guess I am new to Gerrit. Any ideas what I am doing wrong?
Regards,
John--
--
To unsubscribe, email mailto:repo-discuss%2Bunsu...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
C:\GitWork\helloTest>git remote -v
origin https://admin@mint16:8443/helloTest (fetch)
origin https://admin@mint16:8443/helloTest (push)C:\GitWork\helloTest>\temp\curl\curl -Lo .git\hooks\comit-msg http://mint16:8443/tools/hooks/commit-msg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (52) Empty reply from server
Have you tried installing it again on a separate machine *without* SSL and with a default config?
Strange that when Gerrit is down the CURL is hanged and not failing immediately for a connection refused error.