receive-pack: turn on index-pack resolving progress
commitd06303bb9a6c3791ff67078b480a86cfd9b691ea
authorJeff King <peff@peff.net>
Fri, 15 Jul 2016 10:35:28 +0000 (15 06:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Jul 2016 19:11:10 +0000 (20 12:11 -0700)
treed1b99bc83a852725e686b5a004f93157a3d6ccc3
parente376f17fd1a1efd4fe425d023610172bcba3fe97
receive-pack: turn on index-pack resolving progress

When we receive a large push, the server side may have to
spend a lot of CPU processing the incoming packfile.

During the "receiving" phase, we are typically network
bound, and the client is writing its own progress to the
user. But during the delta resolution phase, we may spend
minutes (e.g., for a full push of linux.git) without
making any indication to the user that the connection has
not hung.

Let's ask index-pack to produce progress output for this
phase (unless the client asked us to be quiet, of course).

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