From f8161b8551f982af61eb4385734adbef5642113e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 16 Feb 2021 11:17:11 +0200 Subject: fix: initial backup progress bar only shows total backup count Previously it showed "N/M", where N was the number of files found in the current backup run, and M was the number of files found in the previous generation. But that made no sense for an initial backup, so now we only show N. --- src/backup_progress.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backup_progress.rs b/src/backup_progress.rs index fac56fb..b5ecc26 100644 --- a/src/backup_progress.rs +++ b/src/backup_progress.rs @@ -15,7 +15,7 @@ impl BackupProgress { let parts = vec![ "initial backup", "elapsed: {elapsed}", - "files: {pos}/{len}", + "files: {pos}", "current: {wide_msg}", "{spinner}", ]; -- cgit v1.2.1