David Ostrovsky
2014-03-19 e1dbd00bf504d8ebadeb8f3f590f16d7750aaf85
src/main/java/com/gitblit/transport/ssh/git/Receive.java
@@ -17,14 +17,14 @@
import org.eclipse.jgit.transport.ReceivePack;
import com.gitblit.transport.ssh.CommandMetaData;
import com.gitblit.transport.ssh.commands.CommandMetaData;
@CommandMetaData(name = "git-receive-pack", description = "Receives pushes from a client")
public class Receive extends BaseGitCommand {
   @Override
   protected void runImpl() throws Failure {
      try {
         ReceivePack rp = receivePackFactory.create(ctx.getClient(), repo);
         ReceivePack rp = receivePackFactory.create(getContext().getClient(), repo);
         rp.receive(in, out, null);
      } catch (Exception e) {
         throw new Failure(1, "fatal: Cannot receive pack: ", e);