James Moger
2014-03-21 7569e8f542ffcc049797f0cf5b79562d5852fb30
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);