git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git sending messages to stderr on MacOS 10.8
@ 2014-03-16  9:15 Thomas Robitaille
  2014-03-16  9:51 ` Duy Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Robitaille @ 2014-03-16  9:15 UTC (permalink / raw)
  To: git

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?

Thanks,
Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git sending messages to stderr on MacOS 10.8
  2014-03-16  9:15 git sending messages to stderr on MacOS 10.8 Thomas Robitaille
@ 2014-03-16  9:51 ` Duy Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Duy Nguyen @ 2014-03-16  9:51 UTC (permalink / raw)
  To: Thomas Robitaille; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-16  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-16  9:15 git sending messages to stderr on MacOS 10.8 Thomas Robitaille
2014-03-16  9:51 ` Duy Nguyen

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).