git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[EGIT PATCH 2/2] Fixed an old failed EGit unit test.

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Dec 17, 2008, 00:07 UTC
Message-ID
<1229472439-24104-3-git-send-email-robin.rosenberg@dewire.com>
In-Reply-To
<1229472439-24104-2-git-send-email-robin.rosenberg@dewire.com>
The index was dropped from the history with Shawns revision walker.
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 .../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
Previous: Robin RosenbergNext: Shawn O. Pearce
Message 3 of 9 in “*** SUBJECT HERE ***”
  1. 0/2 *** SUBJECT HERE ***Robin Rosenberg, Dec 17, 2008
  2. 1/2 Revert "Fix commit id in egit test T0001_ConnectProviderOperationTest"Robin Rosenberg, Dec 17, 2008
  3. 2/2 Fixed an old failed EGit unit test.Robin Rosenberg, Dec 17, 2008
  4. Shawn O. PearceDec 17, 2008
  5. Robin RosenbergDec 17, 2008
  6. Shawn O. PearceDec 17, 2008
  7. Committer, author and tagger time should not be parsed as 32 bit signed intRobin Rosenberg, Dec 17, 2008
  8. Shawn O. PearceDec 17, 2008
  9. Robin RosenbergDec 18, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.