提交 9354b9a4 编写于 作者: J Jeff King 提交者: Junio C Hamano

docs: note that receive-pack knows side-band-64k capability

The protocol-capabilities documentation notes that any
capabilities not explicitly mentioned for receive-pack work
only for upload-pack.

Receive-pack has advertised and understood side-band-64k
since 38a81b4e (receive-pack: Wrap status reports inside
side-band-64k, 2010-02-05), but we do not mention it
explicitly. Let's do so.

Note that receive-pack does not understand side-band, which
was obsolete by that point.
Signed-off-by: NJeff King <peff@peff.net>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 9a621ad0
...@@ -21,8 +21,8 @@ NOT advertise capabilities it does not understand. ...@@ -21,8 +21,8 @@ NOT advertise capabilities it does not understand.
The 'report-status' and 'delete-refs' capabilities are sent and The 'report-status' and 'delete-refs' capabilities are sent and
recognized by the receive-pack (push to server) process. recognized by the receive-pack (push to server) process.
The 'ofs-delta' capability is sent and recognized by both upload-pack The 'ofs-delta' and 'side-band-64k' capabilities are sent and recognized
and receive-pack protocols. by both upload-pack and receive-pack protocols.
All other capabilities are only recognized by the upload-pack (fetch All other capabilities are only recognized by the upload-pack (fetch
from server) process. from server) process.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册