summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test/src
diff options
context:
space:
mode:
authorMike Edgar <adgar@google.com>2016-04-12 22:23:08 -0400
committerMike Edgar <adgar@google.com>2016-04-14 20:41:53 -0400
commit4812fdab61c1ac61863247574be03425ba3bc674 (patch)
tree2b1ab5157935407b0a6ed3c4b4317a39b80cbe06 /org.eclipse.jgit.http.test/src
parent32a5993227b5f43cb32becdf14d3efb6e88fa847 (diff)
downloadjgit-4812fdab61c1ac61863247574be03425ba3bc674.tar.gz
jgit-4812fdab61c1ac61863247574be03425ba3bc674.zip
Make UploadPack observe exceptions reading refs
Now if refs are unreadable when serving an upload pack the handler will fail due to the actual underlying failure. Previously all wants would be rejected as invalid because Repository.getAllRefs() returned an empty map. Testing this required a new subclass of InMemoryRepository so that an IOException could be injected at the correct time. Signed-off-by: Michael Edgar <adgar@google.com> Change-Id: Iac708b1db9d0ccce08c4ef5ace599ea0b57afdc0
Diffstat (limited to 'org.eclipse.jgit.http.test/src')
0 files changed, 0 insertions, 0 deletions