From: Jeff King <peff@peff.net>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: bill lam <cbill.lam@gmail.com>, git <git@vger.kernel.org>
Subject: Re: how to suppress progress percentage in git-push
Date: Mon, 23 Nov 2009 14:25:18 -0500 [thread overview]
Message-ID: <20091123192518.GA1607@coredump.intra.peff.net> (raw)
In-Reply-To: <alpine.LFD.2.00.0911231043310.2059@xanadu.home>
On Mon, Nov 23, 2009 at 11:56:43AM -0500, Nicolas Pitre wrote:
> > We need to do one of:
> >
> > 1. make --all-progress imply "if we are using progress, then make it
> > more verbose. Otherwise, ignore."
> >
> > 2. fix all callers to check isatty(2) before unconditionally passing
> > the option
>
> None of the above would fix the issue as this only affects progress
> display for phase #3. You'd still get progress display for the counting
> phase and the compressing phase.
I think it does fix the issue, as it is exactly the side effect that we
are concerned about (and I tested my patch for 1, which squelched it).
But your --all-progress-implied is a better fix, so I think we should go
with that.
> That doesn't mean it is OK for send-pack to unconditionally use
> --all-progress though, although it does provide the -q argument to
> pack-objects when push -q is used which inhibits any progress display
> already.
It does, and I almost suggested that (although -q is new as of 1.6.5, so
it may not help the original poster). But "-q" actually does more than
that; it also silences any output for a successful push, which may not
be desired.
-Peff
next prev parent reply other threads:[~2009-11-23 19:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 14:53 how to suppress progress percentage in git-push bill lam
2009-11-23 15:00 ` Jeff King
2009-11-23 15:50 ` Petr Baudis
2009-11-23 16:43 ` Jeff King
2009-11-23 17:05 ` Petr Baudis
2009-11-23 19:28 ` Jeff King
2009-11-23 17:43 ` [PATCH] pack-objects: split implications of --all-progress from progress activation Nicolas Pitre
2009-11-23 18:12 ` Petr Baudis
2009-11-23 18:27 ` Nicolas Pitre
2009-11-23 19:04 ` Petr Baudis
2009-11-23 19:32 ` Jeff King
2009-11-23 16:56 ` how to suppress progress percentage in git-push Nicolas Pitre
2009-11-23 19:25 ` Jeff King [this message]
2009-11-23 19:40 ` Nicolas Pitre
2009-11-24 1:13 ` bill lam
2009-11-24 3:07 ` Jeff King
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=20091123192518.GA1607@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=cbill.lam@gmail.com \
--cc=git@vger.kernel.org \
--cc=nico@fluxnic.net \
/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).