|
|
@ -127,11 +127,13 @@ class StartGenerator extends Generator { |
|
|
|
else |
|
|
|
else |
|
|
|
pending = new DateRevQueue(q); |
|
|
|
pending = new DateRevQueue(q); |
|
|
|
if (tf != TreeFilter.ALL) { |
|
|
|
if (tf != TreeFilter.ALL) { |
|
|
|
rf = AndRevFilter.create( |
|
|
|
int rewriteFlag; |
|
|
|
new TreeRevFilter(w, tf, RevWalk.REWRITE), rf); |
|
|
|
if (w.getRewriteParents()) { |
|
|
|
pendingOutputType |= HAS_REWRITE; |
|
|
|
pendingOutputType |= HAS_REWRITE | NEEDS_REWRITE; |
|
|
|
if (w.getRewriteParents()) |
|
|
|
rewriteFlag = RevWalk.REWRITE; |
|
|
|
pendingOutputType |= NEEDS_REWRITE; |
|
|
|
} else |
|
|
|
|
|
|
|
rewriteFlag = 0; |
|
|
|
|
|
|
|
rf = AndRevFilter.create(new TreeRevFilter(w, tf, rewriteFlag), rf); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
walker.queue = q; |
|
|
|
walker.queue = q; |
|
|
|