# git sending messages to stderr on MacOS 10.8

2 messages from 2014-03-16 to 2014-03-16. Participants: Thomas Robitaille, Duy Nguyen.
Thread: https://gitlist.dev/t/36180

## Thomas Robitaille, 2014-03-16 09:15

Subject: git sending messages to stderr on MacOS 10.8
Message-ID: <CAGMHX_2pdQPbHEkpbtSxnFS+GRn1Uiy8CCK6CPWqhidbE4aSmw@mail.gmail.com>
URL: https://gitlist.dev/e/CAGMHX_2pdQPbHEkpbtSxnFS%2BGRn1Uiy8CCK6CPWqhidbE4aSmw%40mail.gmail.com

```
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

```

## Duy Nguyen, 2014-03-16 09:51

Subject: Re: git sending messages to stderr on MacOS 10.8
Message-ID: <CACsJy8BWG7qwKX0v0tOEoEFrGAXb_PJWzvgQsXxXhsvVypudsA@mail.gmail.com>
URL: https://gitlist.dev/e/CACsJy8BWG7qwKX0v0tOEoEFrGAXb_PJWzvgQsXxXhsvVypudsA%40mail.gmail.com
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

```
