Package org.eclipse.jgit.revplot

Examples of org.eclipse.jgit.revplot.PlotWalk.sort()


  @Override
  protected RevWalk createWalk() {
    if (objects)
      throw die(CLIText.get().cannotUseObjectsWithGlog);
    final PlotWalk w = new PlotWalk(db);
    w.sort(RevSort.BOUNDARY, true);
    return w;
  }

  private String repoName() {
    final File gitDir = db.getDirectory();
View Full Code Here


  @Override
  protected RevWalk createWalk() {
    if (objects)
      throw die(CLIText.get().cannotUseObjectsWithGlog);
    final PlotWalk w = new PlotWalk(db);
    w.sort(RevSort.BOUNDARY, true);
    return w;
  }

  private String repoName() {
    final File gitDir = db.getDirectory();
View Full Code Here

  @Override
  protected RevWalk createWalk() {
    if (objects)
      throw die(CLIText.get().cannotUseObjectsWithGlog);
    final PlotWalk w = new PlotWalk(db);
    w.sort(RevSort.BOUNDARY, true);
    return w;
  }

  private String repoName() {
    final File gitDir = db.getDirectory();
View Full Code Here

            public void run() {
                model.getCommitList().clear();
                PlotWalk walk = null;
                try {
                    walk = new PlotWalk(model.getRepository());
                    walk.sort(RevSort.BOUNDARY, true);
                    if (model.hasPaths()) {
                        walk.setTreeFilter(model.createPathFilter());
                    }
                    for (Ref ref : model.getReferences())
                        walk.markStart(walk.parseCommit(ref.getObjectId()));
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.