Monitor local git-upload-pack children for stderr output
commit3ecd8cbc62126f74e0003dded7daa21439f63be1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 8 Apr 2008 06:53:01 +0000 (8 02:53 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 8 Apr 2008 07:26:08 +0000 (8 03:26 -0400)
tree0fabca5b62fc7f911b1abd07a82ee0d7100b71a4
parent196c4d564b27d5b60883d55505beda0be12ebd8b
Monitor local git-upload-pack children for stderr output

If a locally forked git-upload-pack has issues it will print messages
to stderr, to tell us what went wrong.  Rather than eating these we
display them on our own stderr (which may be buried in the eclipse log
file, but is at least still recorded) so we can better debug any issue
we may have.

We also use the thread that copies stderr->stderr to reap back the
child process since the API doesn't properly support that notion.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/fetch/LocalGitProtocolFetchClient.java