|
|
@@ -163,9 +163,6 @@ public class RevWalk implements Iterable<RevCommit> { |
|
|
|
|
|
|
|
private static final int APP_FLAGS = -1 & ~((1 << RESERVED_FLAGS) - 1); |
|
|
|
|
|
|
|
/** Exists <b>ONLY</b> to support legacy Tag and Commit objects. */ |
|
|
|
final Repository repository; |
|
|
|
|
|
|
|
final ObjectReader reader; |
|
|
|
|
|
|
|
final MutableObjectId idBuffer; |
|
|
@@ -203,7 +200,7 @@ public class RevWalk implements Iterable<RevCommit> { |
|
|
|
* released by the caller. |
|
|
|
*/ |
|
|
|
public RevWalk(final Repository repo) { |
|
|
|
this(repo, repo.newObjectReader()); |
|
|
|
this(repo.newObjectReader()); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
@@ -215,11 +212,6 @@ public class RevWalk implements Iterable<RevCommit> { |
|
|
|
* required. |
|
|
|
*/ |
|
|
|
public RevWalk(ObjectReader or) { |
|
|
|
this(null, or); |
|
|
|
} |
|
|
|
|
|
|
|
private RevWalk(final Repository repo, final ObjectReader or) { |
|
|
|
repository = repo; |
|
|
|
reader = or; |
|
|
|
idBuffer = new MutableObjectId(); |
|
|
|
objects = new ObjectIdOwnerMap<RevObject>(); |