summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.server/META-INF
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2018-09-17 11:48:48 -0700
committerIvan Frade <ifrade@google.com>2018-10-12 13:59:06 -0700
commit6aca8899a5c02b3f6be7b9196cf5e935914476f0 (patch)
treebec623c7251d03297684721771d131434815cd30 /org.eclipse.jgit.http.server/META-INF
parentb3adaf7741094c30f77ea933e7faa3977291d870 (diff)
downloadjgit-6aca8899a5c02b3f6be7b9196cf5e935914476f0.tar.gz
jgit-6aca8899a5c02b3f6be7b9196cf5e935914476f0.zip
Move first line parsing for v0/v1 pack negotiation out of UploadPack
In protocol v0/v1 pack negotiation, the first want line contains the options the client wants in effect. This parsing is done in UploadPack but it doesn't have any interaction with that class. Move the code to its own class and package, mark the current one as deprecated (it is public API) and add unit tests. Take the chance to move the parsing code from the constructor to a factory method, making the class a simple container of results. Change-Id: I1757f535dda78a4111a1c12c3a3b455a4b6f0c51 Signed-off-by: Ivan Frade <ifrade@google.com>
Diffstat (limited to 'org.eclipse.jgit.http.server/META-INF')
-rw-r--r--org.eclipse.jgit.http.server/META-INF/MANIFEST.MF1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.server/META-INF/MANIFEST.MF b/org.eclipse.jgit.http.server/META-INF/MANIFEST.MF
index f9a66b90a3..c85e496462 100644
--- a/org.eclipse.jgit.http.server/META-INF/MANIFEST.MF
+++ b/org.eclipse.jgit.http.server/META-INF/MANIFEST.MF
@@ -21,6 +21,7 @@ Import-Package: javax.servlet;version="[2.5.0,3.2.0)",
org.eclipse.jgit.errors;version="[5.2.0,5.3.0)",
org.eclipse.jgit.internal.storage.dfs;version="[5.2.0,5.3.0)",
org.eclipse.jgit.internal.storage.file;version="[5.2.0,5.3.0)",
+ org.eclipse.jgit.internal.transport.parser;version="[5.2.0,5.3.0)",
org.eclipse.jgit.lib;version="[5.2.0,5.3.0)",
org.eclipse.jgit.nls;version="[5.2.0,5.3.0)",
org.eclipse.jgit.revwalk;version="[5.2.0,5.3.0)",