diff --git a/radicle-cli/examples/rad-checkout.md b/radicle-cli/examples/rad-checkout.md index 26b005c4..4c8a9d27 100644 --- a/radicle-cli/examples/rad-checkout.md +++ b/radicle-cli/examples/rad-checkout.md @@ -7,7 +7,6 @@ $ rad checkout rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji Initializing local checkout for 🌱 rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji (heartwood) ok Performing checkout... -ok Setting up remotes... 🌱 Project checkout successful under ./heartwood diff --git a/radicle-cli/src/commands/checkout.rs b/radicle-cli/src/commands/checkout.rs index 77bffff0..fb1ca25a 100644 --- a/radicle-cli/src/commands/checkout.rs +++ b/radicle-cli/src/commands/checkout.rs @@ -151,14 +151,11 @@ pub fn execute(options: Options, profile: &Profile) -> anyhow::Result { /// Setup a remote and tracking branch for each given remote. pub fn setup_remotes(setup: project::SetupRemote, remotes: &[NodeId]) -> anyhow::Result<()> { - let mut spinner = term::spinner("Setting up remotes..."); for remote_id in remotes { - spinner.message(format!("Setting up remote {remote_id}..")); - if let Some((remote, branch)) = setup.run(*remote_id)? { let remote = remote.name().unwrap(); // Only valid UTF-8 is used. - term::success!("Remote {} set", term::format::highlight(remote)); + term::success!("Remote {} created", term::format::tertiary(remote)); term::success!( "Remote-tracking branch {} created for {}", term::format::highlight(branch), @@ -166,7 +163,5 @@ pub fn setup_remotes(setup: project::SetupRemote, remotes: &[NodeId]) -> anyhow: ); } } - spinner.finish(); - Ok(()) }