Re: Making git push output quieter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 05, 2009 at 03:51:27PM -0400, Nicolas Pitre wrote:

> > -	progress = isatty(2);
> > +	progress = isatty(1);
> 
> Doesn't this break progress reporting on a push since stdout is never a 
> tty in that case?  Same issue on a fetch although in that case the 
> progress level is provided explicitly by the caller.

It also doesn't entirely fix the original poster's problem. There are
actually two outputs: the progress report and the push status. I think
we actually just want a "--quiet" flag here which is passed along to
pack-objects, and which suppresses the push status. Patch series
to follow:

  1/3: push: add --quiet flag
  2/3: transport: pass "quiet" flag to pack-objects
  3/3: transport: don't show push status if --quiet is given

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]