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

Re: [PATCH] push: Use sideband channel for hook messages

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 5, 2010, 05:53 UTC
Message-ID
<7v3a1gmdo3.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100205033748.GA19255@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 11 quoted lines
> Rather than sending hook messages over stderr, and losing them
> entirely on git:// and smart HTTP transports, receive-pack now
> puts them onto a multiplexed sideband channel if the send-pack
> client asks for the side-band-64k capablity.  This ensures that
> hooks from the server can report their detailed error messages,
> if any, no matter what git-aware transport is being used.
>
> When the side band channel is being used the push client will wind up
> prefixing all server messages with "remote: ", just like fetch does.
>
> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

This feels to me a topic that has multiple unrelated changes mixed together, making it unnecessarily confusing to review.

 - capabilities_to_send -> send_capabilities;
 - use of sideband in communication from send-pack to receive-pack;
 - adding communication in the opposite direction to async infrastructure;
 - use_sideband that is a boolean but is also used to hold
   LARGE_PACKET_MAX (on the receiving end).
Previous: Shawn O. PearceNext: Johannes Sixt
Message 2 of 8 in “push: Use sideband channel for hook messages”
  1. push: Use sideband channel for hook messagesShawn O. Pearce, Feb 5, 2010
  2. Junio C HamanoFeb 5, 2010
  3. Johannes SixtFeb 5, 2010
  4. Shawn O. PearceFeb 5, 2010
  5. Johannes SixtFeb 5, 2010
  6. Erik Faye-LundFeb 5, 2010
  7. Shawn O. PearceFeb 5, 2010
  8. Ilari LiusvaaraFeb 5, 2010

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.