]> git.notmuchmail.org Git - notmuch/commitdiff
lib: Report progress for combined upgrade operation
authorAustin Clements <amdragon@mit.edu>
Mon, 25 Aug 2014 17:26:06 +0000 (13:26 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 30 Aug 2014 18:36:08 +0000 (11:36 -0700)
Previously, some parts of upgrade didn't report progress and for
others it was possible for the progress meter to restart at 0 part way
through the upgrade because each stage was reported separately.

Fix this by computing the total amount of work that needs to be done
up-front and updating completed work monotonically.


No differences found