|
|
|
@ -232,7 +232,7 @@ public class ObjectWalk extends RevWalk {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (o instanceof RevCommit) |
|
|
|
|
markUninteresting((RevCommit) o); |
|
|
|
|
super.markUninteresting((RevCommit) o); |
|
|
|
|
else if (o instanceof RevTree) |
|
|
|
|
markTreeUninteresting((RevTree) o); |
|
|
|
|
else |
|
|
|
@ -242,18 +242,6 @@ public class ObjectWalk extends RevWalk {
|
|
|
|
|
addObject(o); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void markUninteresting(RevCommit c) throws MissingObjectException, |
|
|
|
|
IncorrectObjectTypeException, IOException { |
|
|
|
|
super.markUninteresting(c); |
|
|
|
|
try { |
|
|
|
|
markTreeUninteresting(c.getTree()); |
|
|
|
|
} catch (MissingObjectException e) { |
|
|
|
|
// we don't care if the tree of the commit does not exist locally
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void sort(RevSort s) { |
|
|
|
|
super.sort(s); |
|
|
|
|
boundary = hasRevSort(RevSort.BOUNDARY); |
|
|
|
|