diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-02-04 21:06:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 20:06:47 +0000 |
commit | 3ff2e2552f5b4db9c8b8e127ff833873902258c0 (patch) | |
tree | e879c4e73856a2d9e0b432d0ae5a17c8378e2e7a | |
parent | cc2aa6524dd9334f0d6d1af71f71d37d6725f345 (diff) |
fix: correct download list for incremental builds (#1672)
-rw-r--r-- | atuin-client/src/record/sync.rs | 5 |
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, } |