protocol-capabilities.txt: document no-done
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 6 Feb 2014 15:10:38 +0000 (22:10 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Feb 2014 18:21:33 +0000 (10:21 -0800)
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>
Documentation/technical/protocol-capabilities.txt
index cb40ebbd8baf139d6635033eb429311255b7e4ef..e17434384724662aabb60d7fceed40a433207608 100644 (file)
@@ -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
 ---------