git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git sending messages to stderr on MacOS 10.8

From
TRThomas Robitaille <thomas.robitaille@gmail.com>
Date
Mar 16, 2014, 09:15 UTC
Message-ID
<CAGMHX_2pdQPbHEkpbtSxnFS+GRn1Uiy8CCK6CPWqhidbE4aSmw@mail.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

Next: Duy Nguyen
Message 1 of 2 in “git sending messages to stderr on MacOS 10.8”
  1. Thomas RobitailleMar 16, 2014
  2. Duy NguyenMar 16, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.