]> source.dussan.org Git - jgit.git/commit
Deprecate GitIndex more by using only DirCache internally. 56/4356/6
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 19 Oct 2011 21:14:41 +0000 (23:14 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Wed, 9 Nov 2011 08:05:24 +0000 (09:05 +0100)
commit83c172f0f7d1fb5ceb14fd58704ae18dc59a1e33
tree9f73b5a06cd8123f9dd570fe79f7abfb5446ff7f
parent790ddb2983bce01d2d0b5b1049d5576fa0c136a8
Deprecate GitIndex more by using only DirCache internally.

This includes merging ReadTreeTest into DirCacheCheckoutTest and
converting IndexDiffTest to use DirCache only. The GitIndex specific
T0007GitIndex test remains.

GitIndex is deprecated. Let us speed up its demise by focusing the
DirCacheCheckout tests to using DirCache instead.

This also add explicit deprecation comments to methods that depend
on GitIndex in Repository and TreeEntry. The latter is deprecated in
itself.

Change-Id: Id89262f7fbfee07871f444378f196ded444f2783
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/DirCacheCheckoutTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/IndexDiffTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ReadTreeTest.java [deleted file]
org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/RepositorySetupWorkDirTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/TreeEntry.java