Browse Source

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

This reverts commit 441fdb54ef.
tags/v3.6.0.201411121045-m1
Christian Halstrick 9 years ago
parent
commit
6ed6494b8a
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      org.eclipse.jgit/src/org/eclipse/jgit/revwalk/ObjectWalk.java

+ 1
- 5
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/ObjectWalk.java View File

@@ -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
}
markTreeUninteresting(c.getTree());
}

@Override

Loading…
Cancel
Save