make display of total transferred fully accurate
commit53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e
authorNicolas Pitre <nico@cam.org>
Tue, 6 Nov 2007 21:30:28 +0000 (6 16:30 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Nov 2007 00:48:40 +0000 (7 16:48 -0800)
treed676127e531b482a50f7ca62568aa4c5f37982e0
parentec640ed1cf1d62730555705ec18b785c43e81f62
make display of total transferred fully accurate

The minimum delay of 1/2 sec between successive throughput updates might
not have been elapsed when display_throughput() is called for the last
time, potentially making the display of total transferred bytes not
right when progress is said to be done.

Let's force an update of the throughput display as well when the
progress is complete.  As a side effect, the total transferred will
always be displayed even if the actual transfer rate doesn't have time
to kickin.

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