summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Masaya Suzuki <draftcode@gmail.com>2018-07-28 14:16:30 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-30 11:25:20 -0700
commit742587662fbdf487eb85e847f6253a4f5dcf18fa (patch)
tree49f9f14c1d100ce264710b85218ea80f6efc612a /Documentation
parentFourth batch for 2.19 cycle (diff)
downloadtgif-742587662fbdf487eb85e847f6253a4f5dcf18fa.tar.xz
doc: fix want-capability separator
Unlike ref advertisement, client capabilities and the first want are separated by SP, not NUL, in the implementation. Fix the documentation to align with the implementation. pack-protocol.txt is already fixed. Signed-off-by: Masaya Suzuki <masayasuzuki@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/technical/http-protocol.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/technical/http-protocol.txt b/Documentation/technical/http-protocol.txt
index 64f49d0bbb..9c5b6f0fac 100644
--- a/Documentation/technical/http-protocol.txt
+++ b/Documentation/technical/http-protocol.txt
@@ -338,11 +338,11 @@ server advertises capability `allow-tip-sha1-in-want` or
request_end
request_end = "0000" / "done"
- want_list = PKT-LINE(want NUL cap_list LF)
+ want_list = PKT-LINE(want SP cap_list LF)
*(want_pkt)
want_pkt = PKT-LINE(want LF)
want = "want" SP id
- cap_list = *(SP capability) SP
+ cap_list = capability *(SP capability)
have_list = *PKT-LINE("have" SP id LF)