|
|
@ -129,8 +129,6 @@ class PendingGenerator extends Generator { |
|
|
|
final RevCommit c = pending.next(); |
|
|
|
final RevCommit c = pending.next(); |
|
|
|
if (c == null) { |
|
|
|
if (c == null) { |
|
|
|
walker.reader.walkAdviceEnd(); |
|
|
|
walker.reader.walkAdviceEnd(); |
|
|
|
if (!(walker instanceof ObjectWalk)) |
|
|
|
|
|
|
|
walker.reader.release(); |
|
|
|
|
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -179,7 +177,6 @@ class PendingGenerator extends Generator { |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (StopWalkException swe) { |
|
|
|
} catch (StopWalkException swe) { |
|
|
|
walker.reader.walkAdviceEnd(); |
|
|
|
walker.reader.walkAdviceEnd(); |
|
|
|
walker.reader.release(); |
|
|
|
|
|
|
|
pending.clear(); |
|
|
|
pending.clear(); |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|