]> source.dussan.org Git - jgit.git/commit
Move deepenSince and deepenNotRefs up to FetchRequest 21/131021/2
authorIvan Frade <ifrade@google.com>
Tue, 16 Oct 2018 19:51:00 +0000 (12:51 -0700)
committerIvan Frade <ifrade@google.com>
Tue, 16 Oct 2018 23:12:59 +0000 (16:12 -0700)
commitb41d7624b8174a0ceba484a4acf009bf1ef71cc2
treee0e6b4cefc0d6aea147cf817566831a891640df7
parent2bedc6e08b555458bc3af600ba73b8e669011db7
Move deepenSince and deepenNotRefs up to FetchRequest

These properties are protocol v2 specific, but they have clear default
no-op values and having them in the common superclass simplifies client
code.

Move properties deepenSince and deepenNotRefs up to FetchRequest. In
FetchV0Request, they are initialized with their no-op values (0 for
deepenSince and empty list for deepenNotRefs)

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