Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15
DORMANTno replies

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

From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:46:37

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help