Browse Source

Revert "When marking commits as uninteresting don't care if the tree exists"

This reverts commit 441fdb54ef.
stable-3.6
Christian Halstrick 10 years ago
parent
commit
6ed6494b8a
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/revwalk/ObjectWalk.java

4
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/ObjectWalk.java

@ -246,11 +246,7 @@ public class ObjectWalk extends RevWalk {
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

Loading…
Cancel
Save