Code

reachable: per-object progress
authorJeff King <peff@peff.net>
Tue, 8 Nov 2011 05:37:00 +0000 (00:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Nov 2011 06:12:19 +0000 (22:12 -0800)
commit0b26abc0f59ce7899257f75d63ce836e1a6566bd
tree5f247bd9be9c29fae6c298d7236b9c361009e10b
parentbf0a59b3872211eaa6d4cebb23ae110522458625
reachable: per-object progress

The current progress code really just counts commits.
This patch makes it count all objects, giving us a "total"
count close to what a repack would show. This is nice when
using "git gc", which will usually have just repacked the
whole repo.

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