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

Re: git push --quiet option does not seem to work

From
Jeff King <peff@peff.net>
Date
May 16, 2016, 15:17 UTC
Message-ID
<20160516151721.GA8678@sigill.intra.peff.net>
In-Reply-To
<alpine.DEB.2.20.1605161700360.3303@virtualbox>
On Mon, May 16, 2016 at 05:04:34PM +0200, Johannes Schindelin wrote:
Show 12 quoted lines
> > Anyway, it is not a Powershell thing. I tested on another repo on
> > GitHub and it worked as expected. So I guess indeed the problem lies
> > with Microsoft's implementation.
> 
> This is *really* unclear.
> 
> What "Microsoft's implementation"??? Do you refer to VSTS, or do you refer
> to Git for Windows, or PowerShell?
> 
> Please. To make it really simple for everybody involved, try to repeat as
> closely as possible the same push from PowerShell, Git CMD and Git Bash.
> We want to compare oranges to oranges.
I don't think there is much to debug there. According to
  http://superuser.com/questions/213848/using-powershell-call-native-command-line-app-and-capture-stderr/462362#462362

and other sources, it looks like PowerShell is very picky about calling programs which produce any output on stderr, and may in an error object. So I think both Powershell and Git are working as advertised, it's just that their behaviors are incompatible.

The "bug" is that the server is asking the client to write non-error output to stderr, even though the client should have asked the server to be quiet (though it would not hurt to check that it is doing so by looking at the output of GIT_TRACE_PACKET).

-Peff
Previous: Johannes SchindelinNext: Chris B
Message 13 of 14 in “git push --quiet option does not seem to work”
  1. Chris BMay 13, 2016
  2. Jeff KingMay 13, 2016
  3. Chris BMay 15, 2016
  4. Chris BMay 15, 2016
  5. Jeff KingMay 15, 2016
  6. Chris BMay 16, 2016
  7. Jeff KingMay 16, 2016
  8. Chris BMay 16, 2016
  9. Johannes SchindelinMay 16, 2016
  10. Jeff KingMay 16, 2016
  11. Chris BMay 16, 2016
  12. Johannes SchindelinMay 16, 2016
  13. Jeff KingMay 16, 2016
  14. Chris BMay 17, 2016

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.