Examples of lookupAny()


Examples of org.eclipse.jgit.revwalk.ObjectWalk.lookupAny()

      }
    }

    if (checkReferencedIsReachable) {
      for (ObjectId id : baseObjects) {
           RevObject b = ow.lookupAny(id, Constants.OBJ_BLOB);
           if (!b.has(RevFlag.UNINTERESTING))
             throw new MissingObjectException(b, b.getType());
      }
    }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.lookupAny()

      // the object was copied here to complete a thin pack and is larger
      // than a delta from another pack. This is actually somewhat common
      // if an object is modified frequently, such as the top level tree.
      for (ObjectIdWithOffset id : want) {
        int type = src.getObjectType(ctx, id.offset);
        RevObject obj = rw.lookupAny(id, type);
        if (!obj.has(added)) {
          pm.update(1);
          pw.addObject(obj);
          obj.add(added);
        }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.lookupAny()

          ObjectId id = ent.toObjectId();
          if (pool.lookupOrNull(id) != null || anyPackHas(id))
            continue;

          int type = oldPack.getObjectType(ctx, ent.getOffset());
          pw.addObject(pool.lookupAny(id, type));
        }
      }
      pm.endTask();
      if (0 < pw.getObjectCount())
        writePack(UNREACHABLE_GARBAGE, pw, pm);
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.lookupAny()

      // the object was copied here to complete a thin pack and is larger
      // than a delta from another pack. This is actually somewhat common
      // if an object is modified frequently, such as the top level tree.
      for (ObjectIdWithOffset id : want) {
        int type = src.getObjectType(ctx, id.offset);
        RevObject obj = rw.lookupAny(id, type);
        if (!obj.has(added)) {
          pm.update(1);
          pw.addObject(obj);
          obj.add(added);
        }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.lookupAny()

          ObjectId id = ent.toObjectId();
          if (pool.lookupOrNull(id) != null || anyIndexHas(newIdx, id))
            continue;

          int type = oldPack.getObjectType(ctx, ent.getOffset());
          pw.addObject(pool.lookupAny(id, type));
        }
        pm.endTask();
      }
      if (0 < pw.getObjectCount())
        writePack(UNREACHABLE_GARBAGE, pw, pm);
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.lookupAny()

      // the object was copied here to complete a thin pack and is larger
      // than a delta from another pack. This is actually somewhat common
      // if an object is modified frequently, such as the top level tree.
      for (ObjectIdWithOffset id : want) {
        int type = src.getObjectType(ctx, id.offset);
        RevObject obj = rw.lookupAny(id, type);
        if (!obj.has(added)) {
          pm.update(1);
          pw.addObject(obj);
          obj.add(added);
        }
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.lookupAny()

          ObjectId id = ent.toObjectId();
          if (pool.lookupOrNull(id) != null || anyPackHas(id))
            continue;

          int type = oldPack.getObjectType(ctx, ent.getOffset());
          pw.addObject(pool.lookupAny(id, type));
        }
        pm.endTask();
      }
      if (0 < pw.getObjectCount())
        writePack(UNREACHABLE_GARBAGE, pw, pm);
View Full Code Here

Examples of org.eclipse.jgit.revwalk.RevWalk.lookupAny()

          ObjectId id = ent.toObjectId();
          if (pool.lookupOrNull(id) != null || anyPackHas(id))
            continue;

          int type = oldPack.getObjectType(ctx, ent.getOffset());
          pw.addObject(pool.lookupAny(id, type));
        }
      }
      pm.endTask();
      if (0 < pw.getObjectCount())
        writePack(UNREACHABLE_GARBAGE, pw, pm);
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.