git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Duy Nguyen <pclouds@gmail.com>
To: Thomas Robitaille <thomas.robitaille@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git sending messages to stderr on MacOS 10.8
Date: Sun, 16 Mar 2014 16:51:28 +0700	[thread overview]
Message-ID: <CACsJy8BWG7qwKX0v0tOEoEFrGAXb_PJWzvgQsXxXhsvVypudsA@mail.gmail.com> (raw)
In-Reply-To: <CAGMHX_2pdQPbHEkpbtSxnFS+GRn1Uiy8CCK6CPWqhidbE4aSmw@mail.gmail.com>

On Sun, Mar 16, 2014 at 4:15 PM, Thomas Robitaille
<thomas.robitaille@gmail.com> wrote:
> I am using git version 1.8.4.2 installed on Mac using MacPorts. When
> e.g. cloning a repository, the cloning message is being sent to
> stderr, but I think it should be sent to stdout:
>
>     In [8]: p = subprocess.Popen('git clone
> git://github.com/embray/astropy'.split(), stdout=subprocess.PIPE,
> stderr=subprocess.PIPE)
>
>     In [9]: p.stdout.read()
>     Out[9]: ''
>
>     In [10]: p.stderr.read()
>     Out[10]: "Cloning into 'astropy'...\n"
>
> Is this expected behavior, or a bug?

It's expected behavior. See 68b939b (clone: send diagnostic messages
to stderr - 2013-09-18) for details.
-- 
Duy

      reply	other threads:[~2014-03-16  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16  9:15 git sending messages to stderr on MacOS 10.8 Thomas Robitaille
2014-03-16  9:51 ` Duy Nguyen [this message]

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=CACsJy8BWG7qwKX0v0tOEoEFrGAXb_PJWzvgQsXxXhsvVypudsA@mail.gmail.com \
    --to=pclouds@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=thomas.robitaille@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).