James Moger
2014-03-27 ab07d0d86d8b64b4f7c88b45bc81f1eec22105db
src/main/java/com/gitblit/transport/ssh/git/Upload.java
@@ -19,12 +19,12 @@
import com.gitblit.transport.ssh.commands.CommandMetaData;
@CommandMetaData(name = "git-upload-pack", description = "Sends packs to a client for clone and fetch")
@CommandMetaData(name = "git-upload-pack", description = "Sends packs to a client for clone and fetch", hidden = true)
public class Upload extends BaseGitCommand {
   @Override
   protected void runImpl() throws Failure {
      try {
         UploadPack up = uploadPackFactory.create(ctx.getClient(), repo);
         UploadPack up = uploadPackFactory.create(getContext().getClient(), repo);
         up.upload(in, out, null);
      } catch (Exception e) {
         throw new Failure(1, "fatal: Cannot upload pack: ", e);