Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Edgar2016-04-13 02:23:08 +0000
committerMike Edgar2016-04-15 00:41:53 +0000
commit4812fdab61c1ac61863247574be03425ba3bc674 (patch)
tree2b1ab5157935407b0a6ed3c4b4317a39b80cbe06 /org.eclipse.jgit/META-INF/MANIFEST.MF
parent32a5993227b5f43cb32becdf14d3efb6e88fa847 (diff)
downloadjgit-4812fdab61c1ac61863247574be03425ba3bc674.tar.gz
jgit-4812fdab61c1ac61863247574be03425ba3bc674.tar.xz
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/META-INF/MANIFEST.MF')
-rw-r--r--org.eclipse.jgit/META-INF/MANIFEST.MF5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jgit/META-INF/MANIFEST.MF b/org.eclipse.jgit/META-INF/MANIFEST.MF
index 51bee1afff..a3d1a92f51 100644
--- a/org.eclipse.jgit/META-INF/MANIFEST.MF
+++ b/org.eclipse.jgit/META-INF/MANIFEST.MF
@@ -60,7 +60,10 @@ Export-Package: org.eclipse.jgit.annotations;version="4.4.0",
org.eclipse.jgit.ignore.internal;version="4.4.0";x-friends:="org.eclipse.jgit.test",
org.eclipse.jgit.internal;version="4.4.0";x-friends:="org.eclipse.jgit.test,org.eclipse.jgit.http.test",
org.eclipse.jgit.internal.ketch;version="4.4.0";x-friends:="org.eclipse.jgit.junit,org.eclipse.jgit.test,org.eclipse.jgit.pgm",
- org.eclipse.jgit.internal.storage.dfs;version="4.4.0";x-friends:="org.eclipse.jgit.test,org.eclipse.jgit.http.server",
+ org.eclipse.jgit.internal.storage.dfs;version="4.4.0";
+ x-friends:="org.eclipse.jgit.test,
+ org.eclipse.jgit.http.server,
+ org.eclipse.jgit.http.test",
org.eclipse.jgit.internal.storage.file;version="4.4.0";
x-friends:="org.eclipse.jgit.test,
org.eclipse.jgit.junit,

Back to the top