Re: git push output goes into stderr
- From
Clemens Buchacher <drizzd@aon.at>
- Date
- Sep 6, 2011, 07:49 UTC
- Message-ID
- <20110906074916.GC28490@ecki>
- In-Reply-To
- <7v8vq3ztym.fsf@alter.siamese.dyndns.org>
On Sun, Sep 04, 2011 at 05:57:53PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> Lynn Lin <lynn.xin.lin@gmail.com> writes: > > > When I create a local branch and then push it to remote. I find that > > the output without error goes into stderr, is this expected? > > Progress output are sent to the stderr stream.
But it's not only progress output that goes to stderr in case of git push. Even the summary written in tranport_print_push_status goes to stderr, unless we specify git push --porcelain. Can't we let that part of the output go to stdout unconditionally?
Clemens