Make .git/hooks directory Change-Id: I2b13edbc2a57ca0659f93fbdae9e054e4785ae6d
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 a0ed759..dbb793c 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,6 +85,7 @@ .append(super.getCommand(scheme, project)) .append(" && (cd ") .append(projectName) + .append(" && mkdir -p .git/hooks") .append(" && curl -Lo") .append(TARGET) .append(HOOK)