From: Carl Worth Date: Sun, 10 Jan 2010 01:38:23 +0000 (-0800) Subject: notmuch new: Print upgrade progress report as a percentage. X-Git-Tag: 0.1~143 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=c340c1bd1140c0a1b7e0f24ef3ebac806f5fc3e6;hp=c340c1bd1140c0a1b7e0f24ef3ebac806f5fc3e6 notmuch new: Print upgrade progress report as a percentage. Previously we were printing a number of messages upgraded so far. The original motivation for this was to accurately reflect the fact that there are two passes, (so each message is processed twice and it's not accurate to represent with a single count). But as it turns out, the second pass takes zero time (relatively speaking) so we're still not accounting for it. If nothing else, the percentage-based reporting makes for a cleaner API for the progress_notify function. ---