Code

receive-pack: Wrap status reports inside side-band-64k
authorShawn O. Pearce <spearce@spearce.org>
Fri, 5 Feb 2010 20:57:41 +0000 (12:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Feb 2010 04:57:26 +0000 (20:57 -0800)
commit38a81b4e82ebf57549f2fa082b329c36dffc0b18
treec81c5068ad30673759849404e794fd60bced2c31
parent185c04e041fb33191c5828339381fd8c4058a43a
receive-pack: Wrap status reports inside side-band-64k

If the client requests the side-band-64k protocol capability we
now wrap the status report data inside of packets sent to band #1.
This permits us to later send additional progress or informational
messages down band #2.

If side-band-64k was enabled, we always send a final flush packet
to let the client know we are done transmitting.

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