[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(-)