Implement an IndexDiff cache
commit821f8eb1e4cb16d304622480b19a4db519b28db9
authorJens Baumgart <jens.baumgart@sap.com>
Wed, 21 Sep 2011 08:45:34 +0000 (21 10:45 +0200)
committerJens Baumgart <jens.baumgart@sap.com>
Wed, 21 Sep 2011 08:45:34 +0000 (21 10:45 +0200)
treec178ed245b688dddc2069f578b47a5d9f1bf7a1d
parenta140b164de5530123ec376c01603b5249e34cbac
Implement an IndexDiff cache

The index diff cache caches the current IndexDiff for git repositories.
Clients can register listeners to receive notifications if an index
diff changes. Index diffs are updated based on index changed events
of the repository and on resource change events.

Change-Id: I3c7745e9a9a3af20374a944e615b3742ba6e5938
Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/indexDiff/IndexDiffCacheTest.java [new file with mode: 0644]
org.eclipse.egit.core/.options
org.eclipse.egit.core/META-INF/MANIFEST.MF
org.eclipse.egit.core/src/org/eclipse/egit/core/Activator.java
org.eclipse.egit.core/src/org/eclipse/egit/core/CoreText.java
org.eclipse.egit.core/src/org/eclipse/egit/core/coretext.properties
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffCache.java [new file with mode: 0644]
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffCacheEntry.java [new file with mode: 0644]
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffChangedListener.java [new file with mode: 0644]
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/indexdiff/IndexDiffData.java [new file with mode: 0644]
org.eclipse.egit.core/src/org/eclipse/egit/core/internal/trace/GitTraceLocation.java