diff options
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java index 280f64f4f0..14c53dd100 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/WorkingTreeIterator.java @@ -465,7 +465,6 @@ public abstract class WorkingTreeIterator extends AbstractTreeIterator { public void next(final int delta) throws CorruptObjectException { ptr += delta; if (!eof()) { - canonLen = -1; parseEntry(); } } @@ -484,6 +483,7 @@ public abstract class WorkingTreeIterator extends AbstractTreeIterator { ensurePathCapacity(pathOffset + nameLen, pathOffset); System.arraycopy(e.encodedName, 0, path, pathOffset, nameLen); pathLen = pathOffset + nameLen; + canonLen = -1; } /** |