Examples of RevFlagSet


Examples of org.eclipse.jgit.revwalk.RevFlagSet

    PEER_HAS = walk.newFlag("PEER_HAS");
    COMMON = walk.newFlag("COMMON");
    SATISFIED = walk.newFlag("SATISFIED");
    walk.carry(PEER_HAS);

    SAVE = new RevFlagSet();
    SAVE.add(WANT);
    SAVE.add(PEER_HAS);
    SAVE.add(COMMON);
    SAVE.add(SATISFIED);
    refFilter = RefFilter.DEFAULT;
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

    final Map<ObjectId, CachedPack> tipToPack = new HashMap<ObjectId, CachedPack>();
    final RevFlag inCachedPack = walker.newFlag("inCachedPack");
    final RevFlag include = walker.newFlag("include");
    final RevFlag added = walker.newFlag("added");

    final RevFlagSet keepOnRestart = new RevFlagSet();
    keepOnRestart.add(inCachedPack);

    walker.setRetainBody(false);
    walker.carry(include);

    int haveEst = have.size();
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

    final Map<ObjectId, CachedPack> tipToPack = new HashMap<ObjectId, CachedPack>();
    final RevFlag inCachedPack = walker.newFlag("inCachedPack");
    final RevFlag include = walker.newFlag("include");
    final RevFlag added = walker.newFlag("added");

    final RevFlagSet keepOnRestart = new RevFlagSet();
    keepOnRestart.add(inCachedPack);

    walker.setRetainBody(false);
    walker.carry(include);

    int haveEst = have.size();
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

    PEER_HAS = walk.newFlag("PEER_HAS");
    COMMON = walk.newFlag("COMMON");
    SATISFIED = walk.newFlag("SATISFIED");
    walk.carry(PEER_HAS);

    SAVE = new RevFlagSet();
    SAVE.add(WANT);
    SAVE.add(PEER_HAS);
    SAVE.add(COMMON);
    SAVE.add(SATISFIED);
    refFilter = RefFilter.DEFAULT;
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

    PEER_HAS = walk.newFlag("PEER_HAS");
    COMMON = walk.newFlag("COMMON");
    SATISFIED = walk.newFlag("SATISFIED");
    walk.carry(PEER_HAS);

    SAVE = new RevFlagSet();
    SAVE.add(WANT);
    SAVE.add(PEER_HAS);
    SAVE.add(COMMON);
    SAVE.add(SATISFIED);
  }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

   * @param a
   *            the flag to test.
   * @return filter that selects only commits with flag <code>a</code>.
   */
  public static RevFilter has(final RevFlag a) {
    final RevFlagSet s = new RevFlagSet();
    s.add(a);
    return new HasAll(s);
  }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

   * @param a
   *            set of flags to test.
   * @return filter that selects only commits with all flags in <code>a</code>.
   */
  public static RevFilter hasAll(final RevFlag... a) {
    final RevFlagSet set = new RevFlagSet();
    for (final RevFlag flag : a)
      set.add(flag);
    return new HasAll(set);
  }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

   * @param a
   *            set of flags to test.
   * @return filter that selects only commits with all flags in <code>a</code>.
   */
  public static RevFilter hasAll(final RevFlagSet a) {
    return new HasAll(new RevFlagSet(a));
  }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

   * @param a
   *            set of flags to test.
   * @return filter that selects only commits with any flag in <code>a</code>.
   */
  public static RevFilter hasAny(final RevFlag... a) {
    final RevFlagSet set = new RevFlagSet();
    for (final RevFlag flag : a)
      set.add(flag);
    return new HasAny(set);
  }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevFlagSet

   * @param a
   *            set of flags to test.
   * @return filter that selects only commits with any flag in <code>a</code>.
   */
  public static RevFilter hasAny(final RevFlagSet a) {
    return new HasAny(new RevFlagSet(a));
  }
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.