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

Push not writing to standard error

From
Chase Brammer <cbrammer@gmail.com>
Date
Oct 12, 2010, 19:04 UTC
Message-ID
<AANLkTim6j7cXj2-1JnKdNLb8KFJK86F02tzeByDBskEa@mail.gmail.com>

First time on the mailing list, but I enjoy the IRC channel.  Excuse me if this is a logged bug, or if there is a known workaround.

When using git outside of bash, or saving the standard error from bash to a file during a push doesn't seem to be working.  I am only able to get standard output, which doesn't give the progress of the push (counting, delta, compressing, and writing status).  This does however work just fine with git fetch. For example:

git fetch origin master --progress > /fetch_error_ouput.txt 2>&1

Works just fine and writes a long file with the progress data. However, the following push doesn't write any data (even when pushing large data sets to verify progress output happens)

git push origin master --progress > ~/push_error_output.txt 2>&1

As far as I can tell this is a bug with push.  I am a bit biased because I really need this feature, but it seems to me that this is a fairly large bug because pushing is such a pillar to all things git.

Idea's on work arounds or upcoming patches to fix this?

Thanks Chase Brammer

Next: Jonathan Nieder
Message 1 of 10 in “Push not writing to standard error”
  1. Chase BrammerOct 12, 2010
  2. Jonathan NiederOct 12, 2010
  3. Jeff KingOct 12, 2010
  4. Jeff KingOct 12, 2010
  5. Chase BrammerOct 12, 2010
  6. Jeff KingOct 12, 2010
  7. Chase BrammerOct 12, 2010
  8. Junio C HamanoOct 13, 2010
  9. Jeff KingOct 13, 2010
  10. Scott R. GodinOct 18, 2010

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.