diff options
author | Nicolas Pitre <nico@cam.org> | 2007-11-06 16:30:28 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-07 16:48:40 -0800 |
commit | 53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e (patch) | |
tree | d676127e531b482a50f7ca62568aa4c5f37982e0 /progress.h | |
parent | ec640ed1cf1d62730555705ec18b785c43e81f62 (diff) | |
download | git-53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e.tar.gz |
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>
Diffstat (limited to 'progress.h')
0 files changed, 0 insertions, 0 deletions