mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 08:10:40 +08:00
cli: Add timing information to rad-sync
This commit is contained in:
@@ -36,8 +36,8 @@ fn announce_(rid: RepoId, node: &mut Node) -> Result<(), radicle::node::Error> {
|
||||
Duration::from_secs(9),
|
||||
|event, _| match event {
|
||||
node::AnnounceEvent::Announced => ControlFlow::Continue(()),
|
||||
node::AnnounceEvent::RefsSynced { remote } => {
|
||||
spinner.message(format!("Synced with {remote}.."));
|
||||
node::AnnounceEvent::RefsSynced { remote, time } => {
|
||||
spinner.message(format!("Synced with {remote} in {time:?}.."));
|
||||
ControlFlow::Continue(())
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user