]> git.ipfire.org Git - thirdparty/git.git/commit - connected.h
check_connected: add progress flag
authorJeff King <peff@peff.net>
Fri, 15 Jul 2016 10:32:28 +0000 (06:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Jul 2016 19:11:09 +0000 (12:11 -0700)
commit70d5e2d77b4c2afdb442b37924bc252793e106d9
treeb02b7cd7456c2ea0e388bbd42684c97a14bf0948
parente0331849a081fe4919f4130540165ce7d7355748
check_connected: add progress flag

Connectivity checks have to traverse the entire object graph
in the worst case (e.g., a full clone or a full push). For
large repositories like linux.git, this can take 30-60
seconds, during which time git may produce little or no
output.

Let's add the option of showing progress, which is taken
care of by rev-list.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connected.c
connected.h