Thread (12 messages) flat view 12 messages, 7 authors, 2016-06-15

Re: Making git push output quieter

From: Jeff King <hidden>
Date: 2016-06-15 22:47:09

On Wed, Aug 05, 2009 at 03:51:27PM -0400, Nicolas Pitre wrote:
quoted
-	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help