瀏覽代碼

Fix NPE when notes are present

Change-Id: If9200ae4a7f582a5562aecf323ff0430ba154583
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v2.1.0.201209190230-r
Robin Rosenberg 11 年之前
父節點
當前提交
f590a4c667
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java

+ 1
- 1
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java 查看文件

@@ -205,7 +205,7 @@ abstract class RevWalkTextBuiltin extends TextBuiltin {
return new ObjectWalk(db);
if (argWalk != null)
return argWalk;
return new RevWalk(db);
return argWalk = new RevWalk(db);
}

protected int walkLoop() throws Exception {

Loading…
取消
儲存