]> arthur.barton.de Git - bup.git/commit
cmd/save: always print a progress() message after a log() message.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 8 Sep 2010 08:23:53 +0000 (01:23 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 8 Sep 2010 08:26:31 +0000 (01:26 -0700)
commit0a6105bc937fb2846cebe8d7a9dc9d358237163e
tree36fe3d28102db891ff76914232ccc6bfa03b59fc
parent4048d434a6d789effabca7296b19b11124ebf642
cmd/save: always print a progress() message after a log() message.

An earlier commit (634df2f8b26a1439f22dc9f6a23d55a006bf0429) made 'bup save'
update the progress line much less frequently.  Unfortunately, if you used
-v or -vv, this would mean that there was *no* progress bar for a short time
after every log() message (directory or filename).  That made the progress
bar flicker annoyingly.

To fix it, make sure we reset the progress bar timer after every filename we
print with log().  It's subtle, but it makes a very visible difference.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/save-cmd.py