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

[PATCH v2 0/6] receive-pack hooks over sideband

From
Shawn O. Pearce <spearce@spearce.org>
Date
Feb 5, 2010, 20:57 UTC
Message-ID
<1265403462-20572-1-git-send-email-spearce@spearce.org>

This is a respin of the patch I posted yesterday. Same idea, we want to make the messages printed by hooks available over the sideband protocol so git:// and http:// smart clients are able to present them, similar to how ssh:// works.

No real major changes from v1, the series is just broken apart to make it easier to review, and Erik Faye-Lund's patch was integrated to get a bidirectional async interface, rather than my hacked .is_reader attempt in v1.

Erik Faye-Lund (1):
  run-command: support custom fd-set in async
Shawn O. Pearce (5):
  run-command: Allow stderr to be a caller supplied pipe
  send-pack: demultiplex a sideband stream with status data
  receive-pack: Refactor how capabilities are shown to the client
  receive-pack: Wrap status reports inside side-band-64k
  receive-pack: Send hook output over side band #2
 Documentation/technical/api-run-command.txt |   52 ++++++++++---
 builtin-fetch-pack.c                        |    7 +-
 builtin-receive-pack.c                      |  111 +++++++++++++++++++++------
 builtin-send-pack.c                         |   66 ++++++++++++----
 convert.c                                   |    5 +-
 remote-curl.c                               |    7 +-
 run-command.c                               |   91 +++++++++++++++++++---
 run-command.h                               |   11 ++-
 t/t5401-update-hooks.sh                     |   22 +++---
 upload-pack.c                               |    7 +-
 10 files changed, 290 insertions(+), 89 deletions(-)
Next: Shawn O. Pearce
Message 1 of 14 in “receive-pack hooks over sideband”
  1. 0/6 receive-pack hooks over sidebandShawn O. Pearce, Feb 5, 2010
  2. 1/6 run-command: Allow stderr to be a caller supplied pipeShawn O. Pearce, Feb 5, 2010
  3. 2/6 run-command: support custom fd-set in asyncShawn O. Pearce, Feb 5, 2010
  4. 3/6 send-pack: demultiplex a sideband stream with status dataShawn O. Pearce, Feb 5, 2010
  5. 4/6 receive-pack: Refactor how capabilities are shown to the clientShawn O. Pearce, Feb 5, 2010
  6. 5/6 receive-pack: Wrap status reports inside side-band-64kShawn O. Pearce, Feb 5, 2010
  7. Junio C HamanoFeb 5, 2010
  8. Shawn O. PearceFeb 5, 2010
  9. Junio C HamanoFeb 5, 2010
  10. 6/6 receive-pack: Send hook output over side band #2Shawn O. Pearce, Feb 5, 2010
  11. Larry D'AnnaFeb 9, 2010
  12. Shawn O. PearceFeb 9, 2010
  13. Larry D'AnnaFeb 9, 2010
  14. Larry D'AnnaFeb 9, 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.