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>
Masaya Suzuki committed
Jul 28, 2018 at 14:16 UTC
742587662fbdf487eb85e847f6253a4f5dcf18fa
1 file changed
+2
-2
Documentation/technical/http-protocol.txt
+2
-2
@@ -338,11 +338,11 @@ server advertises capability `allow-tip-sha1-in-want` or
338
request_end
339
request_end = "0000" / "done"
340
341
- want_list = PKT-LINE(want NUL cap_list LF)
341
+ want_list = PKT-LINE(want SP cap_list LF)
342
*(want_pkt)
343
want_pkt = PKT-LINE(want LF)
344
want = "want" SP id
345
- cap_list = *(SP capability) SP
345
+ cap_list = capability *(SP capability)
346
347
have_list = *PKT-LINE("have" SP id LF)
348