summaryrefslogtreecommitdiff
path: root/receive-pack.c
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <johannes.sixt@telecom.at>2007-10-19 21:47:58 +0200
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-21 01:30:40 -0400
commitf3b33f1d220056243d3c1da154d3859410630189 (patch)
tree28970fae26a6dd7bfccd1472a7bed7ea9c07b436 /receive-pack.c
parentUse start_comand() in builtin-fetch-pack.c instead of explicit fork/exec. (diff)
downloadtgif-f3b33f1d220056243d3c1da154d3859410630189.tar.xz
Have start_command() create a pipe to read the stderr of the child.
This adds another stanza that allocates a pipe that is connected to the child's stderr and that the caller can read from. In order to request this pipe, the caller sets cmd->err to -1. The implementation is not exactly modeled after the stdout case: For stdout the caller can supply an existing file descriptor, but this facility is nowhere needed in the stderr case. Additionally, the caller is required to close cmd->err. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'receive-pack.c')
0 files changed, 0 insertions, 0 deletions