unpack-trees: factor progress setup out of check_updates
authorStefan Beller <sbeller@google.com>
Mon, 9 Jan 2017 19:46:19 +0000 (11:46 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 19:53:33 +0000 (11:53 -0800)
This makes check_updates shorter and easier to understand.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found