]> git.notmuchmail.org Git - notmuch/commit
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)
commit90a505373ef5a8135357f2da3cdf6837e32c3a7a
treef95d7968ee0c3ea4d72d4e3337da296d41d6b7e2
parent7c450905e41d9bc81aca82f4593a5b42a4bb8e31
new: Enhance progress reporting

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.
notmuch-new.c