remote-helper: Tell the user we're announcing refs

This commit is contained in:
Alexis Sellier
2023-03-06 15:39:35 +01:00
parent 9000a626d7
commit e972cda2c4
+2
View File
@@ -116,7 +116,9 @@ pub fn run(profile: radicle::Profile) -> Result<(), Box<dyn std::error::Error +
// refs will be announced eventually, when the node restarts.
let mut node = radicle::Node::new(profile.socket());
if node.is_running() {
eprint!("Announcing refs... ");
node.announce_refs(url.repo)?;
eprintln!("ok");
}
}
}