]> git.notmuchmail.org Git - notmuch/commitdiff
new: Enhance progress reporting
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 21 Jan 2011 09:59:37 +0000 (10:59 +0100)
committerCarl Worth <cworth@cworth.org>
Wed, 26 Jan 2011 12:10:11 +0000 (22:10 +1000)
notmuch new reports progress only during the "first" phase when the
files on disk are traversed and indexed. After this phase, other
operations like rename detection and maildir flags synchronization are
performed, but the user is not informed about them. Since these
operations can take significant time, we want to inform the user about
them.

This patch enhances the progress reporting facility that was already
present. The timer that triggers reporting is not stopped after the
first phase but continues to run until all operations are finished. The
rename detection and maildir flag synchronization are enhanced to report
their progress.


No differences found