jgit/org.eclipse.jgit
Ivan Frade a8c38bc767 Extract protocol v2 fetch request parsing to its own class
The parsing code for protocol v2 fetch doesn't have any dependency on
the rest of UploadPack.

Move it to its own class. This makes testing easier (no need to
instantiate the full UploadPack), simplifies the code in UploadPack and
increases modularity.

At the moment, the parser needs to know about the reference database to
validate incoming references. This dependency could be easily removed
moving the validation later in the flow, after the parsing, where other
validations are already happening. Postponing that to keep this patch
about moving unmodified code around.

Change-Id: I7ad29a6b99caa7c12c06f5a7f30ab6a5f6e44dc7
Signed-off-by: Ivan Frade <ifrade@google.com>
2018-08-31 15:31:36 -07:00
..
.settings Merge branch 'stable-5.0' 2018-08-25 16:14:22 +02:00
META-INF Prepare 5.0.3-SNAPSHOT builds 2018-08-01 01:30:05 +02:00
findBugs
resources/org/eclipse/jgit Externalize warning message in RefDirectory.delete() 2018-08-27 10:52:20 +02:00
src/org/eclipse/jgit Extract protocol v2 fetch request parsing to its own class 2018-08-31 15:31:36 -07:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.fbprefs
.gitignore
.project
BUILD Bazel: Support building with Java 9 2018-02-07 17:51:35 -05:00
about.html SHA-1: collision detection support 2017-02-28 16:38:43 -08:00
build.properties
plugin.properties
pom.xml Remove unnecessary maven dependency of org.eclipse.jgit to httpclient 2018-08-20 04:54:51 -04:00