git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Larry Streepy <larry@lightspeed.com>, git@vger.kernel.org
Subject: Re: removal of "percent done" messages from git pull
Date: Mon, 19 Feb 2007 15:30:33 +0000	[thread overview]
Message-ID: <1171899033.5129.13.camel@pc1117> (raw)
In-Reply-To: <Pine.LNX.4.63.0702191611410.22628@wbgn013.biozentrum.uni-wuerzburg.de>

On Mon, 2007-02-19 at 16:12 +0100, Johannes Schindelin wrote:
> > Larry Streepy <larry@lightspeed.com> wrote:
> > > I run a nightly script to build and test our product.  I capture all
> > > the output and email it to interested parties.  One very annoying
> > > thing is the "percent done" messages that come out of git pull.  It
> > > results in log files that look like this:
> > [...]
> > > I have found no way to make these messages go away.  When running in a
> > > "batch" mode, IMHO, interactive messages like these should not be
> > > emitted. At least there should be a switch to suppress them.
> > 
> > Or (as done in StGIT for some messages), only print those interactive
> > messages when stdout is a tty, i.e. "if (isatty(1))".
> 
> You mean something like this?
[...]
> +	if (!verbose && !isatty(1))
> +		quiet = 1;

Well, you might not want this to be the equivalent of --quiet as you
already have an option for it. I'm not familiar to the GIT internals but
it seems a bit more complicated since those messages are sent by the
server. Maybe some modification to the sideband.c but both error
messages and progress percentage seem to be sent on the same band #2.

-- 
Catalin

  reply	other threads:[~2007-02-19 15:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16 16:48 removal of "percent done" messages from git pull Larry Streepy
2007-02-16 17:47 ` Peter Baumann
2007-02-16 19:56   ` Larry Streepy
2007-02-19 13:11 ` Catalin Marinas
2007-02-19 15:12   ` Johannes Schindelin
2007-02-19 15:30     ` Catalin Marinas [this message]
2007-02-19 23:01     ` Junio C Hamano
2007-02-19 23:53       ` Johannes Schindelin

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=1171899033.5129.13.camel@pc1117 \
    --to=catalin.marinas@arm.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=catalin.marinas@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=larry@lightspeed.com \
    /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).