From 05dc2c64bbac084c3f10814848fd0cef24b5286b Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Tue, 27 Sep 2011 20:09:54 +0200 Subject: [PATCH] fix git pre receive file hook --- .../src/main/java/sonia/scm/web/GitReceiveHook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm-plugins/scm-git-plugin/src/main/java/sonia/scm/web/GitReceiveHook.java b/scm-plugins/scm-git-plugin/src/main/java/sonia/scm/web/GitReceiveHook.java index 78a7a96dba..2c330e51fb 100644 --- a/scm-plugins/scm-git-plugin/src/main/java/sonia/scm/web/GitReceiveHook.java +++ b/scm-plugins/scm-git-plugin/src/main/java/sonia/scm/web/GitReceiveHook.java @@ -122,7 +122,7 @@ public class GitReceiveHook implements PreReceiveHook, PostReceiveHook public void onPreReceive(ReceivePack rpack, Collection receiveCommands) { - onReceive(rpack, receiveCommands, FILE_HOOK_POST_RECEIVE, false); + onReceive(rpack, receiveCommands, FILE_HOOK_PRE_RECEIVE, false); } /**