diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java index 50715acb2..0454e7e0d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/BlockList.java @@ -307,7 +307,7 @@ public class BlockList extends AbstractList { private int blkIdx; - private T[] block = directory[dirIdx]; + private T[] block = directory[0]; public boolean hasNext() { return index < size;