git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/4] docs: note that receive-pack knows side-band-64k capability

From
Jeff King <peff@peff.net>
Date
Jul 24, 2013, 08:01 UTC
Message-ID
<20130724080159.GB4425@sigill.intra.peff.net>
In-Reply-To
<20130724080051.GA3890@sigill.intra.peff.net>

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 <peff@peff.net>
---
 Documentation/technical/protocol-capabilities.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/technical/protocol-capabilities.txt b/Documentation/technical/protocol-capabilities.txt
index 11467ff..9bc2a10 100644
--- a/Documentation/technical/protocol-capabilities.txt
+++ b/Documentation/technical/protocol-capabilities.txt
@@ -21,8 +21,8 @@ recognized by the receive-pack (push to server) process.
 The 'report-status' and 'delete-refs' capabilities are sent and
 recognized by the receive-pack (push to server) process.
 
-The 'ofs-delta' capability is sent and recognized by both upload-pack
-and receive-pack protocols.
+The 'ofs-delta' and 'side-band-64k' capabilities are sent and recognized
+by both upload-pack and receive-pack protocols.
 
 All other capabilities are only recognized by the upload-pack (fetch
 from server) process.
-- 
1.8.3.rc1.30.gff0fb75
Previous: Jeff KingNext: Jeff King
Message 5 of 9 in “Missing capabilities in Documentation/technical/protocol-capbilities.txt”
  1. Duy NguyenJul 15, 2013
  2. Clemens BuchacherJul 17, 2013
  3. 0/4 protocol-capabilities documentation updatesJeff King, Jul 24, 2013
  4. 1/4 docs: fix 'report-status' protocol capability thinkoJeff King, Jul 24, 2013
  5. 2/4 docs: note that receive-pack knows side-band-64k capabilityJeff King, Jul 24, 2013
  6. 3/4 document 'agent' protocol capabilityJeff King, Jul 24, 2013
  7. 4/4 document 'quiet' receive-pack capabilityJeff King, Jul 24, 2013
  8. 5/4 document 'allow-tip-sha1-in-want' capabilityNguyễn Thái Ngọc Duy, Jul 26, 2013
  9. Junio C HamanoJul 26, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.