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