ReceivePack: Enable side-band-64k capability for status reports
commitd33f939e8eb47795c1ec8e89a605303770e95f34
authorShawn O. Pearce <spearce@spearce.org>
Tue, 9 Feb 2010 03:18:51 +0000 (8 19:18 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 13 Mar 2010 00:08:13 +0000 (12 16:08 -0800)
treeed03eac486ee71b6694b36439b05b8739b8e115c
parent4c44810df406115c811890336eaa131a8413149b
ReceivePack: Enable side-band-64k capability for status reports

We now advertise the side-band-64k capability inside of ReceivePack,
allowing hooks to echo status messages down the side band channel
instead of over the optional stderr stream.

This change permits hooks running inside of an http:// based push
invocation to still message the end-user with more detailed errors
than the small per-command string in the status report.

Change-Id: I64f251ef2d13ab3fd0e1a319a4683725455e5244
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackPushConnection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java