Community
Participate
Working Groups
Created attachment 274222 [details] Stacktrace It seems that the current implementation of DirCacheBuildIterator is not resettable. Indeed the builder attributes (DirCacheBuilder) is not resetted when the method org.eclipse.jgit.dircache.DirCacheIterator.reset() is called. It may cause an IllegalStateException (see attachment). Maybe the DirCacheBuildIterator needs it own reset implementation. Something like: @Override public void reset() { super.reset(); // Reset the cache builder builder = cache.builder(); }
For context see bug 535200. (EMF Compare)