Rewrite AssumeUnchangedOperation to use DirCache
commit37bb605ba4b40fd2d476b5ca72d0542abcd66dc3
authorShawn O. Pearce <spearce@spearce.org>
Tue, 12 Aug 2008 01:08:13 +0000 (11 18:08 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 14 Aug 2008 17:33:21 +0000 (14 19:33 +0200)
treec5578eca5255a7a22d663eb86240c97606f45234
parentccb43b891eaca9bc07e118a2112abf18626531b5
Rewrite AssumeUnchangedOperation to use DirCache

Its faster to use the DirCache and run over the range of entries
than to use GitIndex and probe the hash many times as we are in
a loop over the resources in the workspace.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.egit.core/src/org/spearce/egit/core/op/AssumeUnchangedOperation.java