Skip to content
  • Nicolas Pitre's avatar
    make display of total transferred fully accurate · 53ed7b5a
    Nicolas Pitre authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    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: default avatarNicolas Pitre <nico@cam.org>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    53ed7b5a