Skip to content
  • Gábor Szeder's avatar
    index-pack: show progress while checking objects · 79e3aa66
    Gábor Szeder authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    When 'git index-pack' is run by 'git clone', its check_objects()
    function usually doesn't take long enough to be a concern, but I just
    run into a situation where it took about a minute or so: I
    inadvertently put some memory pressure on my tiny laptop while cloning
    linux.git, and then there was quite a long silence between the
    "Resolving deltas" and "Checking connectivity" progress bars.
    
    Show a progress bar during the loop of check_objects() to let the user
    know that something is still going on.
    
    Signed-off-by: default avatarSZEDER Gábor <szeder.dev@gmail.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    79e3aa66