From: Jeff King <peff@peff.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Chris B <chris.blaszczynski@gmail.com>, git@vger.kernel.org
Subject: Re: git push --quiet option does not seem to work
Date: Mon, 16 May 2016 09:37:31 -0400 [thread overview]
Message-ID: <20160516133731.GA6903@sigill.intra.peff.net> (raw)
In-Reply-To: <alpine.DEB.2.20.1605161526510.3303@virtualbox>
On Mon, May 16, 2016 at 03:28:30PM +0200, Johannes Schindelin wrote:
> > PS H:\test-ps\myrepo> git push --quiet
> > git : remote:
> > At line:1 char:1
> > + git push --quiet
> > + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > + CategoryInfo : NotSpecified: (remote: :String) [],
> > RemoteException
> > + FullyQualifiedErrorId : NativeCommandError
> >
> > remote: Analyzing objects... (3/3) (119 ms)
> > remote: Storing packfile... done (113 ms)
> > remote: Storing index... done (29 ms)
>
> So it actually works, eh?
>
> Could you please verify that this is a PowerShell-only problem by
> performing a similar push in Git CMD and in Git Bash?
I don't know much about PowerShell, but presumably it is responsible for
the first few lines.
But there is something else going on, too, which is those "remote:"
lines. Those are being relayed from the server by the git client. I
don't think it would be correct for the client to suppress them, even
with "--quiet", because the client side has no idea if they are progress
junk or critical error messages.
The client _does_ pass along the "quiet" flag to the server via the git
protocol, so it should be the server's responsibility to drop progress
output when it is present. The server side here is clearly not stock
git, from the content of those progress messages (some googling shows it
looks like whatever visualstudio.com is running, but I don't know what
that is). So either the server implementation doesn't support the
"quiet" protocol extension, or it is ignoring it. It might be worth
filing a bug with them.
-Peff
next prev parent reply other threads:[~2016-05-16 13:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-13 21:21 git push --quiet option does not seem to work Chris B
2016-05-13 22:33 ` Jeff King
2016-05-15 20:29 ` Chris B
2016-05-15 20:34 ` Chris B
2016-05-15 21:23 ` Jeff King
2016-05-16 0:51 ` Chris B
2016-05-16 0:58 ` Jeff King
2016-05-16 13:13 ` Chris B
2016-05-16 13:28 ` Johannes Schindelin
2016-05-16 13:37 ` Jeff King [this message]
2016-05-16 14:32 ` Chris B
2016-05-16 15:04 ` Johannes Schindelin
2016-05-16 15:17 ` Jeff King
2016-05-17 0:06 ` Chris B
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160516133731.GA6903@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=Johannes.Schindelin@gmx.de \
--cc=chris.blaszczynski@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).