Skip to content

Commit 9354b9a

Browse files
peffgitster
authored andcommitted
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 38a81b4 (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: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9a621ad commit 9354b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/technical/protocol-capabilities.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ NOT advertise capabilities it does not understand.
2121
The 'report-status' and 'delete-refs' capabilities are sent and
2222
recognized by the receive-pack (push to server) process.
2323

24-
The 'ofs-delta' capability is sent and recognized by both upload-pack
25-
and receive-pack protocols.
24+
The 'ofs-delta' and 'side-band-64k' capabilities are sent and recognized
25+
by both upload-pack and receive-pack protocols.
2626

2727
All other capabilities are only recognized by the upload-pack (fetch
2828
from server) process.

0 commit comments

Comments
 (0)