Rewrite UntrackOperation to use DirCacheBuilder
commitccb43b891eaca9bc07e118a2112abf18626531b5
authorShawn O. Pearce <spearce@spearce.org>
Tue, 12 Aug 2008 01:08:12 +0000 (11 18:08 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 14 Aug 2008 17:33:21 +0000 (14 19:33 +0200)
tree1fb6d82f0b4602ea80f72689074a005f35fbe972
parente7307f14c531d52cf231c39d844841c4adaf5e5a
Rewrite UntrackOperation to use DirCacheBuilder

We can more efficiently untrack single files and entire directories using
the DirCacheBuilder API as that API is able to perform range edits on
the index data structure.  Its also able to perform faster disk IO, due
to less conversion overheads.

Although performance of untrack is not a critical feature it is a good
idea to move it over to the newer API, as we will eventually get rid of
the GitIndex class entirely.

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/UntrackOperation.java