]> source.dussan.org Git - jgit.git/commit
UploadPack: Use request in computeShallowUnshallow 52/129752/3
authorIvan Frade <ifrade@google.com>
Tue, 16 Oct 2018 20:56:43 +0000 (13:56 -0700)
committerIvan Frade <ifrade@google.com>
Tue, 16 Oct 2018 23:13:04 +0000 (16:13 -0700)
commit3c974d0251e61dd7dd0576dad22c515ed7eb09ff
tree4b50222c00f683be84e25aa8052cce55866511cf
parentb41d7624b8174a0ceba484a4acf009bf1ef71cc2
UploadPack: Use request in computeShallowUnshallow

All data required in this function is available in the request object.
Use that object instead of class members. This reduces class state and
is more readable.

Make the function use a request object and remove the now unnecessary
field "deepenNotRefs".

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