|
|
|
@ -302,16 +302,13 @@ public class RevCommitList<E extends RevCommit> extends RevObjectList<E> {
|
|
|
|
|
if (walker == null || size > highMark) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
Generator p = walker.pending; |
|
|
|
|
RevCommit c = p.next(); |
|
|
|
|
RevCommit c = walker.next(); |
|
|
|
|
if (c == null) { |
|
|
|
|
walker.pending = EndGenerator.INSTANCE; |
|
|
|
|
walker = null; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
enter(size, (E) c); |
|
|
|
|
add((E) c); |
|
|
|
|
p = walker.pending; |
|
|
|
|
|
|
|
|
|
while (size <= highMark) { |
|
|
|
|
int index = size; |
|
|
|
@ -331,9 +328,8 @@ public class RevCommitList<E extends RevCommit> extends RevObjectList<E> {
|
|
|
|
|
|
|
|
|
|
final Object[] dst = s.contents; |
|
|
|
|
while (size <= highMark && index < BLOCK_SIZE) { |
|
|
|
|
c = p.next(); |
|
|
|
|
c = walker.next(); |
|
|
|
|
if (c == null) { |
|
|
|
|
walker.pending = EndGenerator.INSTANCE; |
|
|
|
|
walker = null; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|