make sure throughput display gets updated even if progress doesn't move
commit3e935d19822db08cc0dedd8764135771ffd6ec7b
authorNicolas Pitre <nico@cam.org>
Thu, 1 Nov 2007 20:59:56 +0000 (1 16:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Nov 2007 22:22:32 +0000 (1 15:22 -0700)
treed52e65845b015e41bbecf045fd234e098bd79857
parent93ff3f6a5311ebb6347b817d1c57c94dbbe4de73
make sure throughput display gets updated even if progress doesn't move

Currently the progress/throughput display update happens only through
display_progress().  If the progress based on object count remains
unchanged because a large object is being received, the latest throughput
won't be displayed.  The display update should occur through
display_throughput() as well.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
progress.c