]> source.dussan.org Git - jgit.git/commit
FetchV2Request round up (doneReceived, renamings) 44/128144/4
authorIvan Frade <ifrade@google.com>
Mon, 27 Aug 2018 17:14:27 +0000 (10:14 -0700)
committerIvan Frade <ifrade@google.com>
Fri, 31 Aug 2018 16:16:11 +0000 (09:16 -0700)
commit04d27cf70fb51ba6ffb1ca353fe81160fbef6883
tree8eac045dc6c7d51b78d4f4cbc80b84d5074547af
parent74d41be0d14c4b0234b76e3147beaeedab6537c1
FetchV2Request round up (doneReceived, renamings)

Make "doneReceived" a member of the fetch request. It indicates if the
"done" line has been received (so it makes sense there) and makes all
the code after the parsing depend only on the request.

Rename "shallowExcludeRefs" to "deepenNot". Those refs come in
"deepen-not" lines in the protocol, and this name makes clearer the
intention.

Change-Id: I7bec65de04930277266491d278de7c3af7d8cbe6
Signed-off-by: Ivan Frade <ifrade@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchV2Request.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java