瀏覽代碼

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 年之前
父節點
當前提交
6ed6494b8a
共有 1 個檔案被更改,包括 1 行新增5 行删除
  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 查看文件

@@ -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…
取消
儲存