The index was dropped from the history with Shawns revision walker. Signed-off-by: Robin Rosenberg <robin.rosenberg@xxxxxxxxxx> --- .../egit/core/internal/mapping/T0002_history.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/org.spearce.egit.core.test/src/org/spearce/egit/core/internal/mapping/T0002_history.java b/org.spearce.egit.core.test/src/org/spearce/egit/core/internal/mapping/T0002_history.java index b540e10..71f5cc5 100644 --- a/org.spearce.egit.core.test/src/org/spearce/egit/core/internal/mapping/T0002_history.java +++ b/org.spearce.egit.core.test/src/org/spearce/egit/core/internal/mapping/T0002_history.java @@ -98,8 +98,7 @@ public void testShallowHistory() { IFileHistoryProvider fileHistoryProvider = provider.getFileHistoryProvider(); IFileHistory fileHistory = fileHistoryProvider.getFileHistoryFor(project.getProject().getWorkspace().getRoot().findMember("Project-1/A.txt"), IFileHistoryProvider.SINGLE_LINE_OF_DESCENT, new NullProgressMonitor()); IFileRevision[] fileRevisions = fileHistory.getFileRevisions(); - assertEquals(2, fileRevisions.length); - assertEquals("Index", fileRevisions[0].getContentIdentifier()); - assertEquals("6dd8f0b51204fa24a01734971947847549ec4ba8", fileRevisions[1].getContentIdentifier()); + assertEquals(1, fileRevisions.length); + assertEquals("6dd8f0b51204fa24a01734971947847549ec4ba8", fileRevisions[0].getContentIdentifier()); } } -- 1.6.0.3.640.g6331a -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html