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

[BUG] git push writes to stderr instead of stdout on success

From
Marat Radchenko <marat@slonopotamus.org>
Date
May 19, 2014, 15:03 UTC
Message-ID
<20140519150358.GA3099@seldon>
`git push` writes to stderr instead of stdout
Steps to reproduce:
  mkdir foo
  cd foo
  git init
  echo foo > fo
  git add -A
  git commit -am "foo"
  git push . HEAD:refs/heads/newbranch 2>out
Expected: `out` file is empty
Actual: `out` file contents:
To .
 * [new branch]      HEAD -> newbranch
Next: Jeff King
Message 1 of 3 in “[BUG] git push writes to stderr instead of stdout on success”
  1. Marat RadchenkoMay 19, 2014
  2. Jeff KingMay 19, 2014
  3. Marat RadchenkoMay 19, 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.