Package org.eclipse.jgit.lib

Examples of org.eclipse.jgit.lib.ProgressMonitor.endTask()


    updating.beginTask(JGitText.get().updatingReferences, toApply.size());
    for (ReceiveCommand cmd : toApply) {
      updating.update(1);
      execute(cmd);
    }
    updating.endTask();
  }

  private void execute(final ReceiveCommand cmd) {
    try {
      final RefUpdate ru = db.updateRef(cmd.getRefName());
View Full Code Here


      }

      if (o instanceof RevBlob && !db.hasObject(o))
        throw new MissingObjectException(o, Constants.TYPE_BLOB);
    }
    checking.endTask();

    if (baseObjects != null) {
      for (ObjectId id : baseObjects) {
        o = ow.parseAny(id);
        if (!o.has(RevFlag.UNINTERESTING))
View Full Code Here

    updating.beginTask(JGitText.get().updatingReferences, toApply.size());
    for (ReceiveCommand cmd : toApply) {
      updating.update(1);
      cmd.execute(this);
    }
    updating.endTask();
  }

  /**
   * Send a status report.
   *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.