Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  CloneWithCommitMsgHook: Stop passing --insecure to curl

Change-Id: I4ff216985885be55959a79f430ee1894fb5ba1d7
diff --git a/src/main/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHook.java b/src/main/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHook.java
index 79cf187..a0ed759 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHook.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/download/command/CloneWithCommitMsgHook.java
@@ -85,7 +85,7 @@
           .append(super.getCommand(scheme, project))
           .append(" && (cd ")
           .append(projectName)
-          .append(" && curl -kLo")
+          .append(" && curl -Lo")
           .append(TARGET)
           .append(HOOK)
           .append(" ")