summaryrefslogtreecommitdiff
path: root/progress.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-11-06 21:30:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-08 00:48:40 (GMT)
commit53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e (patch)
treed676127e531b482a50f7ca62568aa4c5f37982e0 /progress.h
parentec640ed1cf1d62730555705ec18b785c43e81f62 (diff)
downloadgit-53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e.zip
git-53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e.tar.gz
git-53ed7b5a5d7a0ad2ffafd4a4ba4a7861f5db624e.tar.bz2
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