All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Buchacher <drizzd@aon.at>
To: Junio C Hamano <gitster@pobox.com>
Cc: Lynn Lin <lynn.xin.lin@gmail.com>, git@vger.kernel.org
Subject: Re: git push output goes into stderr
Date: Tue, 6 Sep 2011 09:49:16 +0200	[thread overview]
Message-ID: <20110906074916.GC28490@ecki> (raw)
In-Reply-To: <7v8vq3ztym.fsf@alter.siamese.dyndns.org>

On Sun, Sep 04, 2011 at 05:57:53PM -0700, Junio C Hamano wrote:
> 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

  reply	other threads:[~2011-09-06  7:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-04  9:26 git push output goes into stderr Lynn Lin
2011-09-05  0:57 ` Junio C Hamano
2011-09-06  7:49   ` Clemens Buchacher [this message]
2011-09-07 21:57     ` Jeff King
2011-09-08  5:42       ` Sitaram Chamarty
2011-09-08  7:07         ` Jeff King
2011-09-08  8:24           ` Sitaram Chamarty
2011-09-05  4:39 ` Sitaram Chamarty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110906074916.GC28490@ecki \
    --to=drizzd@aon.at \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=lynn.xin.lin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.