summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-02-06 15:10:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-02-10 18:21:33 (GMT)
commitc9cd60f6fa064595e4c1a8a84b9a15cc016a09e1 (patch)
tree876dacfe628e2ad6a9045f612d090411490a0aed /Documentation
parent087e347f2672b9a950d6da56179ca44eb7ded834 (diff)
downloadgit-c9cd60f6fa064595e4c1a8a84b9a15cc016a09e1.zip
git-c9cd60f6fa064595e4c1a8a84b9a15cc016a09e1.tar.gz
git-c9cd60f6fa064595e4c1a8a84b9a15cc016a09e1.tar.bz2
protocol-capabilities.txt: document no-done
See 3e63b21 (upload-pack: Implement no-done capability - 2011-03-14) and 761ecf0 (fetch-pack: Implement no-done capability - 2011-03-14) for more information. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/protocol-capabilities.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/technical/protocol-capabilities.txt b/Documentation/technical/protocol-capabilities.txt
index cb40ebb..e174343 100644
--- a/Documentation/technical/protocol-capabilities.txt
+++ b/Documentation/technical/protocol-capabilities.txt
@@ -75,6 +75,18 @@ This is an extension of multi_ack that permits client to better
understand the server's in-memory state. See pack-protocol.txt,
section "Packfile Negotiation" for more information.
+no-done
+-------
+This capability should only be used with the smart HTTP protocol. If
+multi_ack_detailed and no-done are both present, then the sender is
+free to immediately send a pack following its first "ACK obj-id ready"
+message.
+
+Without no-done in the smart HTTP protocol, the server session would
+end and the client has to make another trip to send "done" before
+the server can send the pack. no-done removes the last round and
+thus slightly reduces latency.
+
thin-pack
---------