diff options
author | Jonathan Nieder <jrn@google.com> | 2018-12-18 19:44:39 -0800 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-12-26 00:39:44 +0100 |
commit | 1638a2fce8e2a71f4cdfdee278e0cb9699860add (patch) | |
tree | 57c71c694c23ab1d3d35c3e743f17263fb539ca7 /org.eclipse.jgit.junit.http | |
parent | 25deb304600242e4bffda53b9e41d46bcb301414 (diff) | |
download | jgit-1638a2fce8e2a71f4cdfdee278e0cb9699860add.tar.gz jgit-1638a2fce8e2a71f4cdfdee278e0cb9699860add.zip |
UploadPack: Defer want-ref resolution to after parsing
ProtocolV2Parser explains:
// TODO(ifrade): This validation should be done after the
// protocol parsing. It is not a protocol problem asking for an
// unexisting ref and we wouldn't need the ref database here.
Do so. This way all ref database accesses are in one place, in the
UploadPack class.
No user-visible change intended --- this is just to make the code
easier to manipulate.
Change-Id: I68e87dff7b9a63ccc169bd0836e8e8baaf5d1048
Signed-off-by: Jonathan Nieder <jrn@google.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.junit.http')
0 files changed, 0 insertions, 0 deletions