Merge branch 'stable-2.15'

* stable-2.15:
  Make .git/hooks directory

Change-Id: If06a1256d97e8989373074b1821b4207a3325d54
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 5fcedf5..087ef50 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
@@ -91,6 +91,7 @@
           .append(super.getCommand(scheme, project))
           .append(" && (cd ")
           .append(projectName)
+          .append(" && mkdir -p .git/hooks")
           .append(" && curl -Lo")
           .append(TARGET)
           .append(HOOK)