]> source.dussan.org Git - jgit.git/commit
Move ls-refs parsing code to the ProtocolV2Parser 99/128399/12
authorIvan Frade <ifrade@google.com>
Tue, 28 Aug 2018 20:57:52 +0000 (13:57 -0700)
committerIvan Frade <ifrade@google.com>
Fri, 14 Sep 2018 15:52:23 +0000 (08:52 -0700)
commitcb4de02e5e7502705ef52264eb76d03a90c950d1
tree0f41545e84be5d5e24691c4bc84993d655806e04
parentd6d4cc3ab88820a0768f4f1fc2a066cf6ecbb25f
Move ls-refs parsing code to the ProtocolV2Parser

Fetch code has been moved to a ProtocolV2Parser, but ls-refs code is
still in UploadPack.

Moving it to the parser makes it easier to test, keeps the parsing
together and makes the two commands follow similar structure.

Change-Id: I573ce543e804ddeb9f83303b4af250b7cddc8cad
Signed-off-by: Ivan Frade <ifrade@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/ProtocolV2ParserTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Parser.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java