summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.gpg.bc
diff options
context:
space:
mode:
authorRonald Bhuleskar <funronald@google.com>2021-06-09 15:41:09 -0700
committerRonald Bhuleskar <funronald@google.com>2021-06-11 12:29:12 -0400
commit64d0aaa2b624e9c011390d817a6d1fef335bf7b6 (patch)
tree39f0fcdd11cf31d62f9ce9e202125988e1fcf5c2 /org.eclipse.jgit.gpg.bc
parent91a9591253fc157527f8f09b8f5642ec32f5bdde (diff)
downloadjgit-64d0aaa2b624e9c011390d817a6d1fef335bf7b6.tar.gz
jgit-64d0aaa2b624e9c011390d817a6d1fef335bf7b6.zip
Teach independent negotiation (no pack file) using an option "wait-for-done"
From Git commit 9c1e657a8f: Currently, the packfile negotiation step within a Git fetch cannot be done independent of sending the packfile, even though there is at least one application wherein this is useful - push negotiation. Therefore, make it possible for this negotiation step to be done independently. This feature is for protocol v2 only. In the protocol, the main hindrance towards independent negotiation is that the server can unilaterally decide to send the packfile. This is solved by a "wait-for-done" argument: the server will then wait for the client to say "done". In practice, the client will never say it; instead it will cease requests once it is satisfied. Advertising the server capability option "wait-for-done" is behind the transport config: uploadpack.advertisewaitfordone, which by default is false. Change-Id: I5ebd3e99ad76b8943597216e23ced2ed38eb5224
Diffstat (limited to 'org.eclipse.jgit.gpg.bc')
0 files changed, 0 insertions, 0 deletions