Code

Fix fetch/clone --quiet when stdout is connected
authorTuncer Ayaz <tuncer.ayaz@gmail.com>
Sun, 5 Oct 2008 13:53:00 +0000 (15:53 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 6 Oct 2008 07:01:07 +0000 (00:01 -0700)
commitfe8aa148b2cba66fb2643e4df1670c132da5d706
tree10265f464a01141938bb03788074a79ee1413af7
parent5209ac4de4192e4ffcd72861517daccf387391e5
Fix fetch/clone --quiet when stdout is connected

Fixes the `git clone --quiet` issue raised by Dave Jones in
http://marc.info/?l=git&m=121529226023180&w=2

With this simple patch applied we no longer see the following remote
messages as no-progress is correctly sent to the remote site:

  remote: Counting objects: 84102, done.
  remote: Compressing objects: 100% (24720/24720), done.
  remote: Total 84102 (delta 60949), reused 80810 (delta 57900)

Signed-off-by: Tuncer Ayaz <tuncer.ayaz@gmail.com>
Acked-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
transport.c