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

[JGIT PATCH 0/3 RFC] http://code.google.com/p/egit/issues/detail?id=79

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Apr 19, 2009, 18:30 UTC
Message-ID
<1240165809-16703-1-git-send-email-robin.rosenberg@dewire.com>
In-Reply-To
<200904181905.55119.robin.rosenberg.lists@dewire.com>

Here is a possible solution, though I have a problem with the test case. I'd like to invent something better. The problem with the "Simulate breakpoints" patch is that it patches core functions and not just the test case. Using AOP would solve it, but that is too much for a single test case.

Robin Rosenberg (3):
  Add test cases dedicated to the WindowCache
  Simulate breakpoints
  Rescan for packs and retry once if object lookup scan fails
 .../tst/org/spearce/jgit/lib/WindowCacheTest.java  |  132 ++++++++++++++++++++
 .../src/org/spearce/jgit/lib/Repository.java       |   76 +++++++++--
 .../src/org/spearce/jgit/lib/WindowedFile.java     |    7 +
 3 files changed, 202 insertions(+), 13 deletions(-)
 create mode 100644 org.spearce.jgit.test/tst/org/spearce/jgit/lib/WindowCacheTest.java
Previous: Robin RosenbergNext: Robin Rosenberg
Message 2 of 6 in “JGit cache bug”
  1. Robin RosenbergApr 18, 2009
  2. 0/3 http://code.google.com/p/egit/issues/detail?id=79Robin Rosenberg, Apr 19, 2009
  3. 1/3 Add test cases dedicated to the WindowCacheRobin Rosenberg, Apr 19, 2009
  4. 2/3 Simulate breakpointsRobin Rosenberg, Apr 19, 2009
  5. 3/3 Rescan for packs and retry once if object lookup scan failsRobin Rosenberg, Apr 19, 2009
  6. Shawn O. PearceApr 20, 2009

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.