From 202f3cdb4d70ffe82863c759ec7ff1fdfb1661e7 Mon Sep 17 00:00:00 2001 From: Alexander Weiss Date: Sun, 10 Dec 2023 23:39:04 +0100 Subject: [PATCH] fix: Fix progress for copy command --- src/commands/copy.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/copy.rs b/src/commands/copy.rs index 7511738f0..fb7d5afd4 100644 --- a/src/commands/copy.rs +++ b/src/commands/copy.rs @@ -65,7 +65,8 @@ impl CopyCmd { let poly = repo.config().poly()?; for target_opt in &config.copy.targets { - let repo_dest = Repository::new(target_opt)?; + let repo_dest = + Repository::new_with_progress(target_opt, config.global.progress_options)?; let repo_dest = if self.init && repo_dest.config_id()?.is_none() { if config.global.dry_run {