author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 5 Feb 2010 20:57:39 +0000 (12:57 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 6 Feb 2010 04:57:24 +0000 (20:57 -0800) | ||
commit | 0c499ea60fda716198c76f2d5febe3998d302afb | |
tree | aa8813ad07e610a51281eaf492e14a98d338050e | tree | snapshot |
parent | ae6a5609c025d9ac79e54a3a052704e25d885314 | commit | diff |
send-pack: demultiplex a sideband stream with status data
If the server advertises side-band-64k capability, we request
it and pull the status report data out of side band #1, and let
side band #2 go to our stderr. The latter channel be used by the
remote side to send our user messages. This basically mirrors the
side-band-64k capability in upload-pack.
Servers may choose to use side band #2 to send error messages from
hook scripts that are meant for the push end user.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If the server advertises side-band-64k capability, we request
it and pull the status report data out of side band #1, and let
side band #2 go to our stderr. The latter channel be used by the
remote side to send our user messages. This basically mirrors the
side-band-64k capability in upload-pack.
Servers may choose to use side band #2 to send error messages from
hook scripts that are meant for the push end user.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-send-pack.c | diff | blob | history |