From: Petr Baudis Date: Mon, 23 Nov 2009 15:50:43 GMT Subject: Re: how to suppress progress percentage in git-push Message-ID: <20091123155043.GA28963@machine.or.cz> In-Reply-To: <20091123145959.GA13138@sigill.intra.peff.net> On Mon, Nov 23, 2009 at 10:00:00AM -0500, Jeff King wrote: > The patch for (1) would look something like what's below. It's simpler, > but it does change the semantics; anyone who was relying on > --all-progress to turn on progress unconditionally would need to now > also use --progress. However, turning on progress unconditionally is > usually an error (the except is if you are piping output in real-time to > the user and need to overcome the isatty check). I'm actually doing exactly that in the mirrorproj.cgi of Girocco, so I would be unhappy if I would have to go through creating ptys or whatever now. Maybe conditioning this by an environment variable? Petr "Pasky" Baudis