aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client
diff options
context:
space:
mode:
Diffstat (limited to 'atuin-client')
-rw-r--r--atuin-client/src/record/sync.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/atuin-client/src/record/sync.rs b/atuin-client/src/record/sync.rs
index eca0c930..6c80b0b8 100644
--- a/atuin-client/src/record/sync.rs
+++ b/atuin-client/src/record/sync.rs
@@ -288,7 +288,10 @@ pub async fn sync_remote(
tag,
local,
remote,
- } => downloaded = sync_download(local_store, &client, host, tag, local, remote).await?,
+ } => {
+ let mut d = sync_download(local_store, &client, host, tag, local, remote).await?;
+ downloaded.append(&mut d)
+ }
Operation::Noop { .. } => continue,
}