Package org.eclipse.jgit.revplot

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


      rw = new PlotWalk(r);
      if (StringUtils.isEmpty(objectId)) {
        objectId = JGitUtils.getHEADRef(r);
      }

      rw.markStart(rw.lookupCommit(r.resolve(objectId)));

      // default to the items-per-page setting, unless specified
      int maxCommits = settings.getInteger(Keys.web.itemsPerPage, 50);
      int requestedCommits = maxCommits;
      if (!StringUtils.isEmpty(length)) {
View Full Code Here


      if (id ==  null) {
        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
        response.getWriter().append("Bad request");
        return;
      }
      rw.markStart(rw.lookupCommit(id));

      // default to the items-per-page setting, unless specified
      int maxCommits = settings.getInteger(Keys.web.itemsPerPage, 50);
      int requestedCommits = maxCommits;
      if (!StringUtils.isEmpty(length)) {
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.