From 3ff2e2552f5b4db9c8b8e127ff833873902258c0 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable <ellie@elliehuxtable.com> Date: Sun, 4 Feb 2024 21:06:47 +0100 Subject: [PATCH] fix: correct download list for incremental builds (#1672) --- atuin-client/src/record/sync.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, }