receive-pack: Send internal errors over side-band #2
commit466dbc42f58623d4341d6b1171b5cc13e2b700df
authorShawn O. Pearce <spearce@spearce.org>
Wed, 10 Feb 2010 17:34:12 +0000 (10 09:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2010 17:51:07 +0000 (10 09:51 -0800)
tree57098271b25bcdc1f5be22774d21734905101b00
parent6b3fa7e7d13a3c8fddba43ad6e8acb314d1985ac
receive-pack: Send internal errors over side-band #2

If the client has requested side-band-64k capability, send any
of the internal error or warning messages in the muxed side-band
stream using the same band as our hook output, band #2.  By putting
everything in one stream we ensure all messages are processed by
the side-band demuxer, avoiding interleaving between our own stderr
and the side-band demuxer's stderr buffers.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-receive-pack.c
t/t5401-update-hooks.sh