Examples of RevFilter


Examples of org.eclipse.jgit.revwalk.filter.RevFilter

  private void negotiateBegin() throws IOException {
    walk.resetRetain(REACHABLE, ADVERTISED);
    walk.markStart(reachableCommits);
    walk.sort(RevSort.COMMIT_TIME_DESC);
    walk.setRevFilter(new RevFilter() {
      @Override
      public RevFilter clone() {
        return this;
      }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

   *             a pack file or loose object could not be read.
   */
  public boolean isMergedInto(final RevCommit base, final RevCommit tip)
      throws MissingObjectException, IncorrectObjectTypeException,
      IOException {
    final RevFilter oldRF = filter;
    final TreeFilter oldTF = treeFilter;
    try {
      finishDelayedFreeFlags();
      reset(~freeFlags & APP_FLAGS);
      filter = RevFilter.MERGE_BASE;
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

  RevCommit next() throws MissingObjectException,
      IncorrectObjectTypeException, IOException {
    Generator g;

    final RevWalk w = walker;
    RevFilter rf = w.getRevFilter();
    final TreeFilter tf = w.getTreeFilter();
    AbstractRevQueue q = walker.queue;

    w.reader.walkAdviceBeginCommits(w, w.roots);
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

  private void negotiateBegin() throws IOException {
    walk.resetRetain(REACHABLE, ADVERTISED);
    walk.markStart(reachableCommits);
    walk.sort(RevSort.COMMIT_TIME_DESC);
    walk.setRevFilter(new RevFilter() {
      @Override
      public RevFilter clone() {
        return this;
      }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

   *             a pack file or loose object could not be read.
   */
  public boolean isMergedInto(final RevCommit base, final RevCommit tip)
      throws MissingObjectException, IncorrectObjectTypeException,
      IOException {
    final RevFilter oldRF = filter;
    final TreeFilter oldTF = treeFilter;
    try {
      finishDelayedFreeFlags();
      reset(~freeFlags & APP_FLAGS);
      filter = RevFilter.MERGE_BASE;
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

        // is "connected" to the branch.
        return;
      }
      final RevCommit h = walk.parseCommit(targetRef.getObjectId());

      final RevFilter oldRevFilter = walk.getRevFilter();
      try {
        walk.reset();
        walk.setRevFilter(RevFilter.MERGE_BASE);
        walk.markStart(tip);
        walk.markStart(h);
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

   *             a pack file or loose object could not be read.
   */
  public boolean isMergedInto(final RevCommit base, final RevCommit tip)
      throws MissingObjectException, IncorrectObjectTypeException,
      IOException {
    final RevFilter oldRF = filter;
    final TreeFilter oldTF = treeFilter;
    try {
      finishDelayedFreeFlags();
      reset(~freeFlags & APP_FLAGS);
      filter = RevFilter.MERGE_BASE;
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

  RevCommit next() throws MissingObjectException,
      IncorrectObjectTypeException, IOException {
    Generator g;

    final RevWalk w = walker;
    RevFilter rf = w.getRevFilter();
    final TreeFilter tf = w.getTreeFilter();
    AbstractRevQueue q = walker.queue;

    w.reader.walkAdviceBeginCommits(w, w.roots);
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

  private void negotiateBegin() throws IOException {
    walk.resetRetain(REACHABLE, ADVERTISED);
    walk.markStart(reachableCommits);
    walk.sort(RevSort.COMMIT_TIME_DESC);
    walk.setRevFilter(new RevFilter() {
      @Override
      public RevFilter clone() {
        return this;
      }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.filter.RevFilter

        }

        if ( fromDate != null && toDate != null )
        {
            //walk.setRevFilter( CommitTimeRevFilter.between( fromDate, toDate ) );
            walk.setRevFilter( new RevFilter()
            {
                @Override
                public boolean include( RevWalk walker, RevCommit cmit )
                    throws StopWalkException, MissingObjectException, IncorrectObjectTypeException, IOException
                {
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.