]> source.dussan.org Git - jgit.git/commitdiff
Revert "When marking commits as uninteresting don't care if the tree exists"
authorChristian Halstrick <christian.halstrick@sap.com>
Thu, 9 Oct 2014 22:09:44 +0000 (00:09 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Thu, 9 Oct 2014 22:09:44 +0000 (00:09 +0200)
This reverts commit 441fdb54ef05bbe58c61d562b331d606b0edd783.

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

index b73ccb197482e3352615881932df77ba9d0d6348..ef96b77c5f6dec1ca55a6885053e4f0c8cf916ce 100644 (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