James Moger
2014-03-19 3a4a9886f829594d64b0ccb89813c684f406325d
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);