diff --git a/src/bin/repo.rs b/src/bin/repo.rs index 341cd0e7..a111f5aa 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -654,7 +654,11 @@ fn handle_push(recipes: &Vec, config: &CliConfig) -> anyhow::Result< "", i == num_roots - 1, &match metadata { - Ok(m) => WalkTreeEntry::Built(&archive_path, m.len()), + Ok(m) => { + total_size += m.len(); + visited.insert(root.name.clone()); + WalkTreeEntry::Built(&archive_path, m.len()) + } Err(_) => WalkTreeEntry::NotBuilt, }, )?;