]> source.dussan.org Git - jgit.git/commit
UploadPack: Use request instead of field for depth 53/129753/4
authorIvan Frade <ifrade@google.com>
Tue, 18 Sep 2018 22:52:48 +0000 (15:52 -0700)
committerIvan Frade <ifrade@google.com>
Tue, 16 Oct 2018 23:13:04 +0000 (16:13 -0700)
commit9694d89ea1c2725904f75eb1e8002e4b7eeec516
tree61c62dae7c55975ac73d822f72bbb8d5748e8f70
parent81a752bef74bf651fbd6acf24faa2b7ba5f41e5e
UploadPack: Use request instead of field for depth

One more step in removing state from UploadPack, using the request
object instead.

Unfortunately, hooks get from UploadPack information about the current
request. Changing the hooks to receive the request is a public API
change, so at the moment lets keep a reference to the current request.

This kills half the benefit of using a request object vs fields, but
at least we still get better modularity.

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